diff options
author | Josh Blum | 2012-11-02 23:19:55 -0700 |
---|---|---|
committer | Josh Blum | 2012-11-02 23:19:55 -0700 |
commit | 279f29edb6b48e57e5bd71f9a9dce20dc911aef2 (patch) | |
tree | 9f506b6a18d742db2857f64539b91dbe0f0369f8 /python | |
parent | ce2c6cc567d98f2013b2c07618193478578a54c5 (diff) | |
download | sandhi-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.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 |