aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-23 10:34:21 +0200
committerSimon Warta <[email protected]>2015-06-23 10:34:21 +0200
commit5ca7fb9b6744ccad16feda0d4a14132cbce6cd30 (patch)
treecd1d6da4856c57948b5c46e5b173dc7b1381e2ea /src/lib/misc
parent43e3c4555c9f2535f18741f3e252b3c93cbbaeca (diff)
ifstream/ostream take std::string
Diffstat (limited to 'src/lib/misc')
-rw-r--r--src/lib/misc/srp6/srp6_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/misc/srp6/srp6_files.cpp b/src/lib/misc/srp6/srp6_files.cpp
index 50f51fa75..c028767ad 100644
--- a/src/lib/misc/srp6/srp6_files.cpp
+++ b/src/lib/misc/srp6/srp6_files.cpp
@@ -14,7 +14,7 @@ namespace Botan {
SRP6_Authenticator_File::SRP6_Authenticator_File(const std::string& filename)
{
- std::ifstream in(filename.c_str());
+ std::ifstream in(filename);
if(!in)
return; // no entries