MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / set_last_error

Function set_last_error

externals/picojson/picojson.h:1142–1144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140template <typename T> std::string last_error_t<T>::s;
1141
1142inline void set_last_error(const std::string &s) {
1143 last_error_t<bool>::s = s;
1144}
1145
1146inline const std::string &get_last_error() {
1147 return last_error_t<bool>::s;

Callers 1

picojson.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected