From c505fbad5c4a073ba563d199ce14c16723743a2b Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Sat, 3 Dec 2016 08:13:39 -0800 Subject: [PATCH] Fix compiling stgmerge.cxx in C++11 mode. --- utils/stgmerge/stgmerge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/stgmerge/stgmerge.cxx b/utils/stgmerge/stgmerge.cxx index aec51ba89..7d999a6eb 100644 --- a/utils/stgmerge/stgmerge.cxx +++ b/utils/stgmerge/stgmerge.cxx @@ -160,7 +160,7 @@ int processSTG(osg::ref_ptr options, ss >> index; if (ss.fail()) { SG_LOG(SG_TERRAIN, SG_ALERT, - "Unable to determine bucket from STG filename " << ss); + "Unable to determine bucket from STG filename " << ss.rdbuf()); return EXIT_FAILURE; }