diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | brightness_ctrl.hpp | 1 | ||||
-rw-r--r-- | sensors.hpp | 4 |
4 files changed, 6 insertions, 5 deletions
@@ -1,3 +1,6 @@ +2018-05-05 0.0.3-r1 +No longer using experimental/filesystem as I started using gcc 8.1. + 2018-04-14 0.0.3 Added forced adjustment and minimum brightness. Documentation(?) @@ -24,8 +24,7 @@ As this daemon manipulates sysfs, IT ONLY RUNS AS ROOT! # Dependencies - CMake - - Reasonable new gcc or clang release that support C++17 - (Don't use trunk though as I'm still using `std::experimental::filesystem::v1`) + - gcc 8.x or clang 6 with C++17 support # Building Just `mkdir build && cd build && cmake .. && make`. diff --git a/brightness_ctrl.hpp b/brightness_ctrl.hpp index 57bcffd..5beb0ec 100644 --- a/brightness_ctrl.hpp +++ b/brightness_ctrl.hpp @@ -6,7 +6,6 @@ #include <thread> #include <vector> #include "sensor_als.hpp" -namespace filesystem=std::experimental::filesystem::v1; class BrightnessControl { private: diff --git a/sensors.hpp b/sensors.hpp index 86ff6a1..7b549ba 100644 --- a/sensors.hpp +++ b/sensors.hpp @@ -3,7 +3,7 @@ #include <cstdint> #include <string> #include <any> -#include <experimental/filesystem> +#include <filesystem> #include <functional> #include <unordered_map> #include <tuple> @@ -12,7 +12,7 @@ #define IIODEV_SYSFS_PATH_BASE "/sys/bus/iio/devices/iio:device" #define DEV_PATH "/dev/iio:device" -namespace filesystem=std::experimental::filesystem::v1; +namespace filesystem=std::filesystem; struct scan_t { |