[cpp-opensaml] 02/02: Linux back port: monomorphism

Rod Widdowson rdw at steadingsoftware.com
Tue Jan 9 05:42:42 EST 2018


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

rdw pushed a commit to branch master
in repository cpp-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=d6ac4bdd49f4d59dccc32e65086f95c4f632ca36

commit d6ac4bdd49f4d59dccc32e65086f95c4f632ca36
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jan 9 10:39:49 2018 +0000

    Linux back port: monomorphism
    
    ifstream needs a char*, a std::string won't do for this compiler
---
 saml/saml2/metadata/impl/LocalDynamicMetadataProvider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/saml/saml2/metadata/impl/LocalDynamicMetadataProvider.cpp b/saml/saml2/metadata/impl/LocalDynamicMetadataProvider.cpp
index 0b007c2..016a258 100644
--- a/saml/saml2/metadata/impl/LocalDynamicMetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/LocalDynamicMetadataProvider.cpp
@@ -109,7 +109,7 @@ EntityDescriptor* LocalDynamicMetadataProvider::resolve(const Criteria& criteria
     name = m_sourceDirectory + name + ".xml";
     m_log.debug("transformed named from (%s) to (%s)", from.c_str(), name.c_str());
 
-    ifstream source(name);
+    ifstream source(name.c_str());
     if (!source) {
         m_log.debug("file not found");
         throw IOException("File Not Found");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list