mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
* Fixing clang tidy comments
* Fixing missing includes * Fixing formatting
This commit is contained in:
@ -8,10 +8,10 @@
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <unordered_map>
|
||||
#include "glibmm/refptr.h"
|
||||
#include "giomm/file.h"
|
||||
|
||||
#include "config.hpp"
|
||||
#include "giomm/file.h"
|
||||
#include "glibmm/refptr.h"
|
||||
|
||||
namespace {
|
||||
const std::regex IMPORT_REGEX(R"(@import\s+(?:url\()?(?:"|')([^"')]+)(?:"|')\)?;)");
|
||||
@ -30,7 +30,7 @@ std::string waybar::CssReloadHelper::getFileContents(const std::string& filename
|
||||
return {};
|
||||
}
|
||||
|
||||
return std::string((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
|
||||
return {(std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>()};
|
||||
}
|
||||
|
||||
std::string waybar::CssReloadHelper::findPath(const std::string& filename) {
|
||||
|
Reference in New Issue
Block a user