]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fixed build error under FreeBSD in unit test code trac5560_base
authorThomas Markwalder <tmark@isc.org>
Thu, 8 Mar 2018 11:47:05 +0000 (06:47 -0500)
committerThomas Markwalder <tmark@isc.org>
Thu, 8 Mar 2018 11:47:05 +0000 (06:47 -0500)
    src/bin/dhcp4/tests/get_config_unittest.cc
        added "std::" to to_string invocation

src/bin/dhcp4/tests/get_config_unittest.cc

index be47e2599d2353d681d46f5517b0bb5bbbb7193a..77f622c0459df8391d25bf1bc0f6b9a29a11551e 100644 (file)
@@ -7123,7 +7123,7 @@ TEST_P(Dhcp4GetConfigTest, run) {
 class IntToString {
 public:
     std::string operator()(const testing::TestParamInfo<size_t>& n) {
-        return to_string(n.param);
+        return std::to_string(n.param);
     }
 };