aboutsummaryrefslogtreecommitdiff
path: root/openssl/types.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-13 12:41:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-13 12:41:13 +0200
commit0ea69b738f1ff52baf370c3c5d3e2452571793e6 (patch)
treef7114bbbaa75069c3a9bc2a079e1f1fd59c6e359 /openssl/types.cxx
parent7a760e31440ad49039e6b416a30465efc6047407 (diff)
Work around bogus -Wrestrict GCC 12 warning (bug #105329)
Diffstat (limited to 'openssl/types.cxx')
-rw-r--r--openssl/types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/types.cxx b/openssl/types.cxx
index ce59036..e70e162 100644
--- a/openssl/types.cxx
+++ b/openssl/types.cxx
@@ -23,6 +23,6 @@ namespace openssl
{
if (s == "success") return simulate_outcome::success;
else if (s == "failure") return simulate_outcome::failure;
- else throw invalid_argument ("invalid simulate outcome '" + s + "'");
+ else throw invalid_argument ("invalid simulate outcome '" + s + '\'');
}
}