From 0c8f2fdd3489759bf3a185245397c6813fae4f3b Mon Sep 17 00:00:00 2001 From: Michael Kelley Date: Fri, 1 May 2020 12:31:09 -0700 Subject: [PATCH] Add definition of file_descriptor_source::open() This commit adds the missing definition of the overload of file_descriptor_source::open() that accepts a boost::filesystem::path. --- include/boost/iostreams/device/file_descriptor.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/iostreams/device/file_descriptor.hpp b/include/boost/iostreams/device/file_descriptor.hpp index 5d6af1281..5b8723771 100644 --- a/include/boost/iostreams/device/file_descriptor.hpp +++ b/include/boost/iostreams/device/file_descriptor.hpp @@ -222,7 +222,8 @@ class BOOST_IOSTREAMS_DECL file_descriptor_source : private file_descriptor { // open overload taking a Boost.Filesystem path template - void open(const Path& path, BOOST_IOS::openmode mode = BOOST_IOS::in); + void open(const Path& path, BOOST_IOS::openmode mode = BOOST_IOS::in) + { open(detail::path(path), mode); } private: // open overload taking a detail::path