MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / ensure_value

Method ensure_value

Source/Utils/cxxopts.hpp:1399–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397
1398 private:
1399 void
1400 ensure_value(const std::shared_ptr<const OptionDetails>& details)
1401 {
1402 if (m_value == nullptr)
1403 {
1404 m_value = details->make_storage();
1405 }
1406 }
1407
1408
1409 const std::string* m_long_name = nullptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected