summaryrefslogtreecommitdiff
path: root/src/core/parser
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-27 15:38:50 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-27 15:38:50 +0100
commit07d326d02415467ba7f5f238a8e72a9e4b7f1549 (patch)
tree66200239fcaf5e63d82600764c041b0fe635c55c /src/core/parser
parent06eaf84b383affedbea5c0dffe0dc5e808d3b7b0 (diff)
Removed no longer needed variant of the clone function
Diffstat (limited to 'src/core/parser')
-rw-r--r--src/core/parser/ParserContext.cpp6
-rw-r--r--src/core/parser/ParserContext.hpp8
2 files changed, 0 insertions, 14 deletions
diff --git a/src/core/parser/ParserContext.cpp b/src/core/parser/ParserContext.cpp
index b0d04d4..3a651f0 100644
--- a/src/core/parser/ParserContext.cpp
+++ b/src/core/parser/ParserContext.cpp
@@ -61,12 +61,6 @@ ParserContext ParserContext::clone(ParserScope &scope, SourceId sourceId) const
project, logger, sourceId};
}
-ParserContext ParserContext::clone(SourceId sourceId) const
-{
- return ParserContext{registry, resourceManager, scope,
- project, logger, sourceId};
-}
-
Manager &ParserContext::getManager() const { return project->getManager(); }
}
diff --git a/src/core/parser/ParserContext.hpp b/src/core/parser/ParserContext.hpp
index f422e10..9b6eca0 100644
--- a/src/core/parser/ParserContext.hpp
+++ b/src/core/parser/ParserContext.hpp
@@ -151,14 +151,6 @@ public:
ParserContext clone(ParserScope &scope, SourceId sourceId) const;
/**
- * Clones the ParserContext instance but exchanges the source id.
- *
- * @param sourceId is the source id the parser is reading from.
- * @return a copy of this ParserContext with exchanged source id.
- */
- ParserContext clone(SourceId sourceId) const;
-
- /**
* Returns a reference pointing at the Registry used within this parser
* context.
*