From 275dc6e6bfc367a1aa164b4022b7b4901e516103 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 22 Jun 2020 17:36:23 -0500 Subject: [PATCH] Work around some older compiliers. Some older compilers don't coerce in the ctor even if there's one available. --- src/engine/startup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/startup.cpp b/src/engine/startup.cpp index 4d57ce8d2..14e34b93b 100644 --- a/src/engine/startup.cpp +++ b/src/engine/startup.cpp @@ -62,7 +62,7 @@ LIST *b2::startup::builtin_boost_build(FRAME *frame, int flags) // # Add the given directory to the path so we can find the build system. If // # dir is empty, has no effect. b2::jam::variable dot_boost_build_file{".boost-build-file"}; - b2::jam::list dot_boost_build_file_val{dot_boost_build_file}; + b2::jam::list dot_boost_build_file_val{static_cast(dot_boost_build_file)}; std::string boost_build_jam = b2::jam::object{*dot_boost_build_file_val.begin()}; std::string boost_build_dir; if (b2::paths::is_rooted(dir))