diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-12 02:50:18 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:24:15 +0200 |
commit | c7cb92f43f97ef5558eee0d7be6f18192134f3ec (patch) | |
tree | 6475300d3f1ad862a7d4e4514084770e33ce2775 /src/core/resource/ResourceManager.hpp | |
parent | c917381e5eb5700326d2389ffe0874565fc970ac (diff) |
Replace NodeVector by ManagedVector where NodeVector functionality is not needed. Reduces calls to "Manager.registerEvent" to <10% of original value
Diffstat (limited to 'src/core/resource/ResourceManager.hpp')
-rw-r--r-- | src/core/resource/ResourceManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/resource/ResourceManager.hpp b/src/core/resource/ResourceManager.hpp index 186ce42..67a650d 100644 --- a/src/core/resource/ResourceManager.hpp +++ b/src/core/resource/ResourceManager.hpp @@ -136,7 +136,7 @@ private: * @param mode describes whether the file should be included or imported. * @return the parsed nodes or an empty list if something went wrong. */ - NodeVector<Node> parse(ParserContext &ctx, const std::string &path, + ManagedVector<Node> parse(ParserContext &ctx, const std::string &path, const std::string &mimetype, const std::string &rel, const RttiSet &supportedTypes, ParseMode mode); @@ -196,7 +196,7 @@ public: * checked, not the actual result. * @return the parsed nodes or an empty list if something went wrong. */ - NodeVector<Node> include(ParserContext &ctx, const std::string &path, + ManagedVector<Node> include(ParserContext &ctx, const std::string &path, const std::string &mimetype, const std::string &rel, const RttiSet &supportedTypes); |