prometheus-cpp-lite
prometheus-cpp-lite copied to clipboard
To make the code compile on MacOS using Clang
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.