From: duv Date: Mon, 13 Jul 2015 11:17:49 +0000 (+0300) Subject: Stream fix in Voxel package X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=e877b67bbc6f46dffb112e3028d5cf1fdfa98c6e;p=occt-copy.git Stream fix in Voxel package --- 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()) {