summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-19 06:08:07 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-19 06:08:07 +0000
commit37b9a6710bfb162ab64002bb83cf6c37bd78cb93 (patch)
treebc21a40551a11336771c9df2fb0feb211e39d85d /cpp/src/Slice/Parser.cpp
parentwin fixes (diff)
downloadice-37b9a6710bfb162ab64002bb83cf6c37bd78cb93.tar.bz2
ice-37b9a6710bfb162ab64002bb83cf6c37bd78cb93.tar.xz
ice-37b9a6710bfb162ab64002bb83cf6c37bd78cb93.zip
win fixes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index c2580ba2e78..3aa831637bb 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -11,16 +11,6 @@
#include <IceUtil/Functional.h>
#include <Slice/Parser.h>
-//
-// Stupid Visual C++ defines min and max as macros :-(
-//
-#ifdef min
-# undef min
-#endif
-#ifdef max
-# undef max
-#endif
-
using namespace std;
using namespace Slice;
@@ -2046,8 +2036,8 @@ Slice::Unit::parse(FILE* file, bool debug)
_currentComment = "";
_currentLine = 1;
_currentIncludeLevel = 0;
- _currentFile.clear();
- _topLevelFile.clear();
+ _currentFile = "";
+ _topLevelFile = "";
_includeFiles.clear();
pushContainer(this);