prometheus-cpp-lite icon indicating copy to clipboard operation
prometheus-cpp-lite copied to clipboard

To make the code compile on MacOS using Clang

Open ideras opened this issue 2 months ago • 0 comments

These are some small changes to the library so the code compiles on MacOS. Basically MacOS use the same socket API as Linux. In the case of clang it complains about copying std::map of const std::string, so I changed it to std::map of std::string.

ideras avatar Apr 24 '24 22:04 ideras