From d048f1e8e37acec7f3abd9fabe8990ade44a72f9 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Wed, 1 Oct 2014 10:30:16 +0400 Subject: [PATCH] Bind reference to avoid repeated accesses by index --- tinyxml2.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index fb8e692..2893a27 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -212,12 +212,13 @@ const char* StrPair::GetStr() else { int i=0; for(; i