Skip to content

Commit

Permalink
#98: checker: change skip to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed May 20, 2020
1 parent a4546ef commit 02a5df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/checkpoint/dispatch/checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct BaseCounter : checkpoint::Serializer {
}

template <typename T>
void skip(T& t, std::string t_name) {
void ignore(T& t, std::string t_name) {
assert(stack_->size() > 0 && "Must have valid live stack");
stack_->top().addIgnoredMember(reinterpret_cast<void*>(cleanType(&t)));
}
Expand Down
2 changes: 1 addition & 1 deletion src/checkpoint/serializers/base_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct Serializer {
void check(T& t, std::string name) { }

template <typename T>
void skip(T& t, std::string name = "") { }
void ignore(T& t, std::string name = "") { }

SerialByteType* getBuffer() const { return nullptr; }
SerialByteType* getSpotIncrement(SerialSizeType const inc) { return nullptr; }
Expand Down

0 comments on commit 02a5df4

Please sign in to comment.