From e877b67bbc6f46dffb112e3028d5cf1fdfa98c6e Mon Sep 17 00:00:00 2001 From: duv Date: Mon, 13 Jul 2015 14:17:49 +0300 Subject: [PATCH] Stream fix in Voxel package --- src/Graphic3d/Graphic3d_RgbaTransferFunction.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphic3d/Graphic3d_RgbaTransferFunction.hxx b/src/Graphic3d/Graphic3d_RgbaTransferFunction.hxx index 654a8324b0..6127d52e9a 100644 --- a/src/Graphic3d/Graphic3d_RgbaTransferFunction.hxx +++ b/src/Graphic3d/Graphic3d_RgbaTransferFunction.hxx @@ -102,7 +102,7 @@ public: { std::ifstream aStream; - OSD_OpenStream (aStream, theFileName, std::ios_base::binary); + aStream.open (theFileName, std::ios_base::binary); if (!aStream.is_open()) { -- 2.39.5