MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / getEnvironmentVariable

Function getEnvironmentVariable

src/osvr/Common/GetEnvironmentVariable.cpp:46–48  ·  view source on GitHub ↗

On Windows, only desktop apps actually have the getenv function available to them, so this implementation just always returns not defined.

Source from the content-addressed store, hash-verified

44 /// available to them, so this implementation just always returns not
45 /// defined.
46 boost::optional<std::string> getEnvironmentVariable(std::string const &) {
47 return boost::optional<std::string>();
48 }
49#else
50 /// A real implementation of the functionality.
51 boost::optional<std::string>

Callers 1

osvrClientInitFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected