diff options
author | ewewukek <ewewukek@gmail.com> | 2024-01-04 15:12:37 +0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-02-21 22:15:28 +0000 |
commit | e27e691a7cb9907d52534d001c0bcc61c145c8d1 (patch) | |
tree | 9dcc0f295d5ccc8e37b9416f0bb36c42afa6ea9d /src/unittests | |
parent | 9e6069cac80e851cc8af8ef3a3851289d4c92675 (diff) | |
download | plus-e27e691a7cb9907d52534d001c0bcc61c145c8d1.tar.gz plus-e27e691a7cb9907d52534d001c0bcc61c145c8d1.tar.bz2 plus-e27e691a7cb9907d52534d001c0bcc61c145c8d1.tar.xz plus-e27e691a7cb9907d52534d001c0bcc61c145c8d1.zip |
Const correct variable to hold __xmlParserVersion() value
Diffstat (limited to 'src/unittests')
-rw-r--r-- | src/unittests/utils/dumplibs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/utils/dumplibs.cc b/src/unittests/utils/dumplibs.cc index be9527a87..15dc05b98 100644 --- a/src/unittests/utils/dumplibs.cc +++ b/src/unittests/utils/dumplibs.cc @@ -57,7 +57,7 @@ TEST_CASE("dumplibs tests", "") #ifdef ENABLE_LIBXML SECTION("libxml2") { - const char **xmlVersion = __xmlParserVersion(); + const char *const *xmlVersion = __xmlParserVersion(); REQUIRE(xmlVersion != nullptr); REQUIRE(*xmlVersion != nullptr); REQUIRE(std::string(*xmlVersion) == |