diff options
| author | Timo Weingärtner <timo@tiwe.de> | 2020-08-24 13:42:39 +0200 |
|---|---|---|
| committer | Timo Weingärtner <timo@tiwe.de> | 2020-08-24 13:42:39 +0200 |
| commit | 013ca71f8e07f462266f5c795930739b37c6d5fb (patch) | |
| tree | 147d4e0e968b5dd293e9705f5048b73435c3e681 | |
| parent | f8351aef302fa2da6183096fdf0013b2f29900ae (diff) | |
| download | ssh-agent-filter-013ca71f8e07f462266f5c795930739b37c6d5fb.tar.gz | |
use C++17 std::filesystem instead of boost
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | ssh-agent-filter.C | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast CPPFLAGS += -D_FILE_OFFSET_BITS=64 CXXFLAGS += -std=c++17 -LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle -lpthread +LDLIBS = -lstdc++ -lboost_program_options -lboost_iostreams -lnettle -lpthread all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1 diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C index 340c606..e98123c 100644 --- a/ssh-agent-filter.C +++ b/ssh-agent-filter.C @@ -22,8 +22,8 @@ #include <boost/program_options.hpp> namespace po = boost::program_options; -#include <boost/filesystem.hpp> -namespace fs = boost::filesystem; +#include <filesystem> +namespace fs = std::filesystem; #include <boost/iostreams/stream.hpp> #include <boost/iostreams/device/array.hpp> |
