summaryrefslogtreecommitdiffstats
path: root/core/config/string.cc
blob: 08e8c0da27b0346ffae514b4f0970cb021471758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "core/pch.hh"

#include "core/config/string.hh"

config::String::String(const char* default_value)
{
    m_value = default_value;
}

void config::String::set(const char* value)
{
    m_value = value;
}

const char* config::String::get(void) const
{
    return m_value.c_str();
}