-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3753 from LarryIII/FixC2039
Remove call to nonexistent member seekpos() of std::fpos
- Loading branch information
Showing
3 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: osg | ||
Version: 3.5.6-2 | ||
Version: 3.5.6-3 | ||
Description: The OpenSceneGraph is an open source high performance 3D graphics toolkit. | ||
Build-Depends: freetype, jasper, openexr, zlib, gdal, giflib, libjpeg-turbo, libpng, tiff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp | ||
index f96cca3..a80969f 100644 | ||
--- a/src/osgPlugins/osga/OSGA_Archive.cpp | ||
+++ b/src/osgPlugins/osga/OSGA_Archive.cpp | ||
@@ -71,7 +71,7 @@ inline std::streampos STREAM_POS( const OSGA_Archive::pos_type pos ) | ||
inline OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ) | ||
{ | ||
#if defined(_CPPLIB_VER)//newer Dinkumware(eg: one included with VC++ 2003,2005) | ||
- fpos_t position = pos.seekpos(); | ||
+ fpos_t position = pos; | ||
#else // older Dinkumware (eg: one included in Win Server 2003 Platform SDK ) | ||
fpos_t position = pos.get_fpos_t(); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters