From a56005478d7f400302e8ab43b54da74b14793959 Mon Sep 17 00:00:00 2001 From: Daviw Williams Date: Mon, 27 May 2013 12:59:19 +0200 Subject: [PATCH] Fix for Linux compile error. --- library/PolyVoxCore/source/Impl/ErrorHandling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/source/Impl/ErrorHandling.cpp b/library/PolyVoxCore/source/Impl/ErrorHandling.cpp index baeae6be..18653a6b 100644 --- a/library/PolyVoxCore/source/Impl/ErrorHandling.cpp +++ b/library/PolyVoxCore/source/Impl/ErrorHandling.cpp @@ -32,7 +32,7 @@ namespace PolyVox { // Passing zero to the stream constructor guarentees it will discard all input. See // here http://stackoverflow.com/a/8244052 and here http://stackoverflow.com/a/6240980 - static std::ostream s_NullStream = std::ostream(0); + static std::ostream s_NullStream(0); return &s_NullStream; }