diff options
author | Simon Warta <[email protected]> | 2015-06-23 10:34:21 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-23 10:34:21 +0200 |
commit | 5ca7fb9b6744ccad16feda0d4a14132cbce6cd30 (patch) | |
tree | cd1d6da4856c57948b5c46e5b173dc7b1381e2ea /src/tests/test_bigint.cpp | |
parent | 43e3c4555c9f2535f18741f3e252b3c93cbbaeca (diff) |
ifstream/ostream take std::string
Diffstat (limited to 'src/tests/test_bigint.cpp')
-rw-r--r-- | src/tests/test_bigint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_bigint.cpp b/src/tests/test_bigint.cpp index 99114a422..82fc49861 100644 --- a/src/tests/test_bigint.cpp +++ b/src/tests/test_bigint.cpp @@ -288,7 +288,7 @@ size_t is_primetest(const std::vector<std::string>& args, size_t test_bigint() { const std::string filename = TEST_DATA_DIR "/mp_valid.dat"; - std::ifstream test_data(filename.c_str()); + std::ifstream test_data(filename); if(!test_data) throw Botan::Stream_IO_Error("Couldn't open test file " + filename); |