MCPcopy Create free account
hub / github.com/USCiLab/cereal / Set

Method Set

include/cereal/external/rapidjson/error/error.h:136–136  ·  view source on GitHub ↗

Update error code and offset.

Source from the content-addressed store, hash-verified

134 void Clear() { Set(kParseErrorNone); }
135 //! Update error code and offset.
136 void Set(ParseErrorCode code, size_t offset = 0) { code_ = code; offset_ = offset; }
137
138private:
139 ParseErrorCode code_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected