nixpkgs/pkgs/development/libraries/libhv
Sergei Trofimovich 7ceef45f5f libhv: fix build against gcc-13
Without the change build fails on `master` as
https://hydra.nixos.org/build/247623778:

    [ 98%] Built target hmain_test
    In file included from /build/source/examples/mqtt/mqtt_client_test.cpp:10:
    /build/source/examples/../mqtt/mqtt_client.h: In member function 'int hv::MqttClient::publish(const std::string&, const std::string&, int, int, MqttCallback)':
    /build/source/examples/../mqtt/mqtt_client.h:232:25: error: invalid use of incomplete type 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'}
      232 |         msg.topic_len = topic.size();
          |                         ^~~~~
2024-02-09 23:10:32 +00:00
..
default.nix