berthubert / simplomon

Very simple monitoring system with a single configuration file
MIT License
119 stars 15 forks source link

Remove 'using namespace std;' from header, (re)move some unused includes #31

Closed wandernauta closed 5 months ago

wandernauta commented 6 months ago

This PR removes using namespace std; from simplomon.hh so that .cc files that include that header can still decide for themselves what parts of the std namespace they want.

It also moves some #includes that can be in the .cc rather than the .hh, making it a bit faster to compile simplomon.

berthubert commented 5 months ago

This is more pain than it is worth by now, sorry. Will remove the using namespace std from simplomon.hh.