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