mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 09:28:01 +08:00
14 lines
511 B
Diff
14 lines
511 B
Diff
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
|