Commit 07dd3ea6 by Al Patrick

Remove use of C++11 feature (auto keyword).

parent c21954a9
#define MAJOR_VERSION 1 #define MAJOR_VERSION 1
#define MINOR_VERSION 2 #define MINOR_VERSION 2
#define BUILD_VERSION 0 #define BUILD_VERSION 0
#define BUILD_REVISION 2428 #define BUILD_REVISION 2429
#define STRINGIFY(x) #x #define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x) #define MACRO_STRINGIFY(x) STRINGIFY(x)
......
...@@ -895,7 +895,7 @@ bool TParseContext::supportsExtension(const char* extension) ...@@ -895,7 +895,7 @@ bool TParseContext::supportsExtension(const char* extension)
bool TParseContext::isExtensionEnabled(const char* extension) const bool TParseContext::isExtensionEnabled(const char* extension) const
{ {
const TExtensionBehavior& extbehavior = extensionBehavior(); const TExtensionBehavior& extbehavior = extensionBehavior();
auto iter = extbehavior.find(extension); TExtensionBehavior::const_iterator iter = extbehavior.find(extension);
if (iter == extbehavior.end()) if (iter == extbehavior.end())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment