]> Creatis software - gdcm.git/blobdiff - src/gdcmDict.cxx
Remove using namespace std;
[gdcm.git] / src / gdcmDict.cxx
index 2b8dff9e2b58fa2e9b86696cd694b6ecbcf99272..783073cc57ef2174de75c9d41f0ff0b031cd575e 100644 (file)
@@ -1,9 +1,18 @@
 // gdcmDict.cxx
 
+//This is needed when compiling in debug mode
+#ifdef _MSC_VER
+// 'identifier' : class 'type' needs to have dll-interface to be used by
+// clients of class 'type2'
+#pragma warning ( disable : 4251 )
+// 'identifier' : identifier was truncated to 'number' characters in the
+// debug information
+#pragma warning ( disable : 4786 )
+#endif //_MSC_VER
+
 #include <fstream>
 #include "gdcmDict.h"
 #include "gdcmUtil.h"
-using namespace std;
 
 /**
  * \ingroup gdcmDict
@@ -32,7 +41,7 @@ gdcmDict::gdcmDict(std::string & FileName) {
       from.getline(buff, 256, '\n');
       name = buff;
       gdcmDictEntry * newEntry = new gdcmDictEntry(group, element,
-                                                        vr, fourth, name);
+                                                  vr, fourth, name);
       // FIXME: use AddNewEntry
       NameHt[name] = newEntry;
       KeyHt[gdcmDictEntry::TranslateToKey(group, element)] = newEntry;