summaryrefslogtreecommitdiffstats
path: root/src/core/config/string.cc
blob: e5820f62fd407a0e1c3c4830797de3be3cdde073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: string.cc
// Description: String config value

#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;
}