fix build

This commit is contained in:
ouwou 2021-11-24 03:29:29 -05:00
parent 4326c5e29b
commit 8f30bb33a3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -38,7 +38,7 @@ public:
std::string NSFWChannelColor { "#ed6666" };
};
SettingsManager(std::string_view filename);
SettingsManager(const std::string &filename);
void Close();
bool IsValid() const;