[Bf-blender-cvs] [637f97b] master: ImBuf: Cleanup, don't use `using namespace`, it's a bad practice
Sergey Sharybin
noreply at git.blender.org
Sat Feb 20 14:07:20 CET 2016
Commit: 637f97b316570aafb3cfd328f48b4c1ab70edc87
Author: Sergey Sharybin
Date: Sat Feb 20 11:42:16 2016 +0500
Branches: master
https://developer.blender.org/rB637f97b316570aafb3cfd328f48b4c1ab70edc87
ImBuf: Cleanup, don't use `using namespace`, it's a bad practice
===================================================================
M source/blender/imbuf/intern/oiio/openimageio_api.cpp
===================================================================
diff --git a/source/blender/imbuf/intern/oiio/openimageio_api.cpp b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
index b24a89c..11bf454 100644
--- a/source/blender/imbuf/intern/oiio/openimageio_api.cpp
+++ b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
@@ -53,7 +53,7 @@ extern "C"
OIIO_NAMESPACE_USING
-using namespace std;
+using std::string;
typedef unsigned char uchar;
More information about the Bf-blender-cvs
mailing list