aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/tests/run-getkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/tests/run-getkey.cpp')
-rw-r--r--lang/cpp/tests/run-getkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/tests/run-getkey.cpp b/lang/cpp/tests/run-getkey.cpp
index c47da0b5..97d863e1 100644
--- a/lang/cpp/tests/run-getkey.cpp
+++ b/lang/cpp/tests/run-getkey.cpp
@@ -150,7 +150,7 @@ main (int argc, char **argv)
const GpgME::Key key = ctx->key (*argv, err, only_secret);
std::stringstream ss;
- ss << "Key " << key << " Err: " << err.asString() << "\n";
+ ss << "Key " << key << " Err: " << err.asStdString() << "\n";
std::cout << ss.str();