forked from OpenGamers/abaddon
fix build
This commit is contained in:
parent
4326c5e29b
commit
8f30bb33a3
@ -2,7 +2,7 @@
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
|
||||
SettingsManager::SettingsManager(std::string_view filename)
|
||||
SettingsManager::SettingsManager(const std::string &filename)
|
||||
: m_filename(filename) {
|
||||
if (!std::filesystem::exists(filename)) {
|
||||
std::fstream fs;
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
std::string NSFWChannelColor { "#ed6666" };
|
||||
};
|
||||
|
||||
SettingsManager(std::string_view filename);
|
||||
SettingsManager(const std::string &filename);
|
||||
|
||||
void Close();
|
||||
bool IsValid() const;
|
||||
|
Loading…
Reference in New Issue
Block a user