]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/example/x3/rexpr/rexpr_full/test/parse_rexpr_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / example / x3 / rexpr / rexpr_full / test / parse_rexpr_test.cpp
index 430072576b59acbd947b632bf5bec0aeb3ee219c..bdbacf2d53908a5fa3b2d2e494b26dbedd30b336 100644 (file)
@@ -15,7 +15,7 @@
 #include "../rexpr/config.hpp"
 #include "../rexpr/printer.hpp"
 
-#include <boost/spirit/home/x3/support/utility/testing.hpp>
+#include "testing.hpp"
 
 namespace fs = boost::filesystem;
 namespace testing = boost::spirit::x3::testing;
@@ -35,7 +35,7 @@ auto parse = [](std::string const& source, fs::path input_path)-> std::string
     using boost::spirit::x3::with;
     using rexpr::parser::error_handler_type;
     using rexpr::parser::error_handler_tag;
-    error_handler_type error_handler(iter, end, out, input_path.c_str()); // Our error handler
+    error_handler_type error_handler(iter, end, out, input_path.string()); // Our error handler
 
     // Our parser
     auto const parser =