summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-11-21 11:04:49 +0100
committerJose <jose@zeroc.com>2016-11-21 11:04:49 +0100
commit4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac (patch)
tree099a1658c0d45cb0e51125cbd4b1c98426cd3811 /cpp/src/Slice/Parser.cpp
parentWindows build instructions updates (diff)
downloadice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.tar.bz2
ice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.tar.xz
ice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.zip
Fix ICE-743 - Eliminate FeatureProfile in slice compilers
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 3bcdd55a197..f400cf90467 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -6216,12 +6216,6 @@ Slice::Unit::usesConsts() const
return false;
}
-FeatureProfile
-Slice::Unit::profile() const
-{
- return _featureProfile;
-}
-
StringList
Slice::Unit::includeFiles() const
{
@@ -6241,7 +6235,7 @@ Slice::Unit::allFiles() const
}
int
-Slice::Unit::parse(const string& filename, FILE* file, bool debug, Slice::FeatureProfile profile)
+Slice::Unit::parse(const string& filename, FILE* file, bool debug)
{
slice_debug = debug ? 1 : 0;
@@ -6251,7 +6245,6 @@ Slice::Unit::parse(const string& filename, FILE* file, bool debug, Slice::Featur
_currentComment = "";
_currentLine = 1;
_currentIncludeLevel = 0;
- _featureProfile = profile;
_topLevelFile = fullPath(filename);
pushContainer(this);
pushDefinitionContext();