From 61e0a974c07f38b8e42f226d68f22e2d1b26fa6d Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 5 May 2018 11:13:12 +0800 Subject: No longer using experimental/filesystem as I started using gcc 8.1. --- ChangeLog | 3 +++ README.md | 3 +-- brightness_ctrl.hpp | 1 - sensors.hpp | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2d76a1..5baa091 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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(?) diff --git a/README.md b/README.md index 368e5d6..04d78ec 100644 --- a/README.md +++ b/README.md @@ -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 #include #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 #include #include -#include +#include #include #include #include @@ -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 { -- cgit v1.2.3