MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / operator <

Method operator <

PanzerChasm/settings.cpp:343–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341{}
342
343bool Settings::SettingsStringContainer::operator < ( const SettingsStringContainer& other ) const
344{
345 const char* const this_c_str= c_str_ ? c_str_ : str_.c_str();
346 const char* const other_c_str= other.c_str_ ? other.c_str_ : other.str_.c_str();
347 return std::strcmp( this_c_str, other_c_str ) < 0;
348}
349
350} // namespace PanzerChasm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected