Skip to content

Commit

Permalink
Fix #48
Browse files Browse the repository at this point in the history
  • Loading branch information
twanvl committed May 20, 2020
1 parent 641acff commit 6a299df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ void reflect_version_check(Reader& handler, const Char* key, intrusive_ptr<Packa
}
}
void reflect_version_check(Writer& handler, const Char* key, intrusive_ptr<Packaged> const& package) {
if (!package) return;
handler.handle(key, package->version);
}
void reflect_version_check(GetMember& handler, const Char* key, intrusive_ptr<Packaged> const& package) {}
Expand Down

0 comments on commit 6a299df

Please sign in to comment.