pineapple-src/externals/vcpkg/ports/boost-iostreams/Removeseekpos.patch

14 lines
511 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/include/boost/iostreams/positioning.hpp b/include/boost/iostreams/positioning.hpp
index 12f2afc..709da7d 100644
--- a/include/boost/iostreams/positioning.hpp
+++ b/include/boost/iostreams/positioning.hpp
@@ -93,7 +93,7 @@ inline stream_offset fpos_t_to_offset(std::fpos_t pos)
inline std::fpos_t streampos_to_fpos_t(std::streampos pos)
{
# if defined (_CPPLIB_VER) || defined(__IBMCPP__)
- return pos.seekpos();
+ return pos;
# else
return pos.get_fpos_t();
# endif