Verified Commit bdb4f7f7 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Support compiling with standards > C++17

parent 50071ff7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
#include "schema.hpp"
#include "options_description.hpp"

#if __cplusplus == 201703L
#if __cplusplus >= 201703L
#include <filesystem>
namespace fs = std::filesystem;
#elif __cplusplus == 201402L
+1 −1
Original line number Diff line number Diff line
#ifndef TEST_SCHEMA_HPP
#define TEST_SCHEMA_HPP

#if __cplusplus == 201703L
#if __cplusplus >= 201703L
#include <filesystem>
namespace fs = std::filesystem;
#elif __cplusplus == 201402L
+3 −2
Original line number Diff line number Diff line
#if __cplusplus == 201703L
#if __cplusplus >= 201703L
#include <filesystem>
namespace fs = std::filesystem;
#elif __cplusplus == 201402L
@@ -56,3 +56,4 @@ TEST_CASE("Options are read from a configuration file ", "[config]") {
    auto workers_in_pool = global_settings.get_as<uint32_t>(keywords::workers);
    REQUIRE(workers_in_pool == 4);
}