[xmltooling] 47/65: Can't use auto in C++11

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jun 30 13:07:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to branch debian/master
in repository xmltooling.

commit 229a957a82d51d2f91db40237f3b274554f68098
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Fri Jun 24 14:10:47 2016 -0400

    Can't use auto in C++11
---
 xmltooling/util/CloneInputStream.cpp | 2 +-
 xmltooling/util/CloneInputStream.h   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/xmltooling/util/CloneInputStream.cpp b/xmltooling/util/CloneInputStream.cpp
index b3da2fc..fa83f61 100644
--- a/xmltooling/util/CloneInputStream.cpp
+++ b/xmltooling/util/CloneInputStream.cpp
@@ -53,7 +53,7 @@ CloneInputStream::~CloneInputStream()
 
 XMLSize_t CloneInputStream::readBytes(XMLByte* const toFill, const XMLSize_t maxToRead)
 {
-    auto bytesRead = m_input->readBytes(toFill, maxToRead);
+    XMLSize_t bytesRead = m_input->readBytes(toFill, maxToRead);
 
     if (bytesRead) m_backingStream.write((char*)toFill, bytesRead);
 
diff --git a/xmltooling/util/CloneInputStream.h b/xmltooling/util/CloneInputStream.h
index b12ab89..8c5d3d7 100644
--- a/xmltooling/util/CloneInputStream.h
+++ b/xmltooling/util/CloneInputStream.h
@@ -55,9 +55,9 @@ namespace xmltooling {
 
 
     private :
-        std::ofstream            m_backingStream;
-        logging::Category&       m_log;
-	    xercesc::BinInputStream* m_input;
+        logging::Category& m_log;
+	xercesc::BinInputStream* m_input;
+        std::ofstream m_backingStream;
     };
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git



More information about the Pkg-shibboleth-devel mailing list