From 507d5676adfb78e8f8a53f5097b05e1b8d5bdf47 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 23 Oct 2019 20:57:10 +0200 Subject: [PATCH] :rotating_light: fix warning --- test/src/unit-alt-string.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/unit-alt-string.cpp b/test/src/unit-alt-string.cpp index 51a88217..643b7017 100644 --- a/test/src/unit-alt-string.cpp +++ b/test/src/unit-alt-string.cpp @@ -38,6 +38,7 @@ SOFTWARE. /* forward declarations */ class alt_string; bool operator<(const char* op1, const alt_string& op2); +void int_to_string(alt_string& target, std::size_t value); /* * This is virtually a string class. @@ -154,7 +155,7 @@ class alt_string friend bool ::operator<(const char*, const alt_string&); }; -void int_to_string( alt_string& target, std::size_t value ) +void int_to_string(alt_string& target, std::size_t value) { target = std::to_string(value).c_str(); }