[cpp-xmltooling] branch master updated: Additional c'tor fixes.
Scott Cantor
cantor.2 at osu.edu
Tue May 1 23:42:38 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=db3372bdcd5e26106283d2c140fc1ae19c6a2df9
The following commit(s) were added to refs/heads/master by this push:
new db3372b Additional c'tor fixes.
db3372b is described below
commit db3372bdcd5e26106283d2c140fc1ae19c6a2df9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue May 1 23:42:34 2018 -0400
Additional c'tor fixes.
---
xmltooling/security/impl/VersionedDataSealerKeyStrategy.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xmltooling/security/impl/VersionedDataSealerKeyStrategy.cpp b/xmltooling/security/impl/VersionedDataSealerKeyStrategy.cpp
index aa5b0c0..8b4ac2a 100644
--- a/xmltooling/security/impl/VersionedDataSealerKeyStrategy.cpp
+++ b/xmltooling/security/impl/VersionedDataSealerKeyStrategy.cpp
@@ -132,11 +132,11 @@ void VersionedDataSealerKeyStrategy::load()
throw (long)HTTPResponse::XMLTOOLING_HTTP_STATUS_NOTMODIFIED;
// Dump to output file.
- ofstream out(backing, fstream::trunc | fstream::binary);
+ ofstream out(backing.c_str(), fstream::trunc | fstream::binary);
out << msg.rdbuf();
out.close();
- ifstream in(backing);
+ ifstream in(backing.c_str());
load(in);
}
}
@@ -211,7 +211,7 @@ Lockable* VersionedDataSealerKeyStrategy::lock()
m_log.crit("maintaining existing keys, remote fetch returned atypical status code (%d)", ex);
}
}
- catch (exception& ex) {
+ catch (const exception& ex) {
m_log.crit("maintaining existing keys: %s", ex.what());
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list