You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
304 B
18 lines
304 B
2 years ago
|
/*
|
||
|
* Copyright (C) 2023 Riyyi
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*/
|
||
|
|
||
|
#include "settings.h"
|
||
|
|
||
|
namespace blaze {
|
||
|
|
||
|
std::string_view Settings::get(std::string_view key) const
|
||
|
{
|
||
|
VERIFY(m_settings.find(key) != m_settings.end(), "setting does not exist");
|
||
|
return m_settings.at(key);
|
||
|
};
|
||
|
|
||
|
} // namespace blaze
|