aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-iostreams/Removeseekpos.patch
blob: c2a5d4770ad3301a1e537ad7f625c4173c120665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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