summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJosh Blum2012-11-02 23:19:55 -0700
committerJosh Blum2012-11-02 23:19:55 -0700
commit279f29edb6b48e57e5bd71f9a9dce20dc911aef2 (patch)
tree9f506b6a18d742db2857f64539b91dbe0f0369f8 /python
parentce2c6cc567d98f2013b2c07618193478578a54c5 (diff)
downloadsandhi-279f29edb6b48e57e5bd71f9a9dce20dc911aef2.tar.gz
sandhi-279f29edb6b48e57e5bd71f9a9dce20dc911aef2.tar.bz2
sandhi-279f29edb6b48e57e5bd71f9a9dce20dc911aef2.zip
simplification for wrapper in HierBlock.i
Diffstat (limited to 'python')
-rw-r--r--python/gras/GRAS_HierBlock.i15
1 files changed, 2 insertions, 13 deletions
diff --git a/python/gras/GRAS_HierBlock.i b/python/gras/GRAS_HierBlock.i
index 5a26203..8fb972a 100644
--- a/python/gras/GRAS_HierBlock.i
+++ b/python/gras/GRAS_HierBlock.i
@@ -58,13 +58,7 @@ namespace gras
struct TopBlockPython : TopBlock
{
- TopBlockPython(void):
- TopBlock("top")
- {
- //NOP
- }
-
- TopBlockPython(const std::string &name):
+ TopBlockPython(const std::string &name = "Top"):
TopBlock(name)
{
//NOP
@@ -88,12 +82,7 @@ struct TopBlockPython : TopBlock
struct HierBlockPython : HierBlock
{
- HierBlockPython(void)
- {
- //NOP
- }
-
- HierBlockPython(const std::string &name):
+ HierBlockPython(const std::string &name = "Hier"):
HierBlock(name)
{
//NOP