Fixed GCC compile error

This commit is contained in:
Randolph Voorhies 2013-07-10 11:28:15 -07:00
parent 195668062e
commit 3f5ac02c70

View File

@ -256,7 +256,7 @@ namespace cereal
{
case Value : ++itsValueIt; break;
case Member: ++itsMemberIt; break;
case Null: throw cereal::Exception("Invalid Iterator Type!");
default: throw cereal::Exception("Invalid Iterator Type!");
}
return *this;
}
@ -267,7 +267,7 @@ namespace cereal
{
case Value : return *itsValueIt;
case Member: return itsMemberIt->value;
case Null: throw cereal::Exception("Invalid Iterator Type!");
default: throw cereal::Exception("Invalid Iterator Type!");
}
}