diff options
-rw-r--r-- | python/gras/GRAS_HierBlock.i | 15 |
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 |