diff options
Diffstat (limited to 'src/core/config/string.cc')
| -rw-r--r-- | src/core/config/string.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/config/string.cc b/src/core/config/string.cc new file mode 100644 index 0000000..198b448 --- /dev/null +++ b/src/core/config/string.cc @@ -0,0 +1,18 @@ +#include "core/pch.hh" + +#include "core/config/string.hh" + +config::String::String(std::string_view default_value) +{ + m_value = default_value; +} + +void config::String::set(std::string_view value) +{ + m_value = value; +} + +std::string_view config::String::get(void) const +{ + return m_value; +} |
