mirror of
https://github.com/RPCS3/cereal.git
synced 2024-11-27 05:00:38 +00:00
Fixed GCC compile error
This commit is contained in:
parent
195668062e
commit
3f5ac02c70
@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user