Skip to content

Commit

Permalink
fxed default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSK committed Mar 26, 2019
1 parent 371b26b commit 9b99c33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ast/conditions/switch/switchDefault.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#include "integerLiteral.hpp"

SwitchDefault::SwitchDefault(StatementPtr scopeBlock) : SwitchCase(new IntegerLiteral(1), scopeBlock)
{
branches.push_back(scopeBlock);
}
{

}

StatementPtr SwitchDefault::getScopeBlock() const
{
Expand Down

0 comments on commit 9b99c33

Please sign in to comment.