diff options
Diffstat (limited to 'project2/ut/testPresenter.cpp')
-rw-r--r-- | project2/ut/testPresenter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/ut/testPresenter.cpp b/project2/ut/testPresenter.cpp index f31309c..eb9ed59 100644 --- a/project2/ut/testPresenter.cpp +++ b/project2/ut/testPresenter.cpp @@ -1,6 +1,6 @@ #include "testPresenter.h" #include <buffer.h> -#include <boost/filesystem/operations.hpp> +#include <filesystem> #include <boost/test/test_tools.hpp> #include <fstream> #include <boost/format.hpp> @@ -115,10 +115,10 @@ namespace std { } bool - operator==(const PresenterData & left, const boost::filesystem::path & rightPath) + operator==(const PresenterData & left, const std::filesystem::path & rightPath) { PresenterData right; - BOOST_REQUIRE(boost::filesystem::exists(rightPath)); + BOOST_REQUIRE(std::filesystem::exists(rightPath)); fstream strm(rightPath.string()); strm >> right; return (left == right); |