1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

Fix build

This commit is contained in:
Eelco Dolstra 2017-04-26 15:11:12 +02:00
parent 86aa851d8d
commit 1f94f03699
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -17,6 +17,15 @@
using namespace nix; using namespace nix;
namespace nix {
template<> void toJSON<std::atomic<long>>(std::ostream & str, const std::atomic<long> & n) { str << n; }
template<> void toJSON<std::atomic<unsigned long>>(std::ostream & str, const std::atomic<unsigned long> & n) { str << n; }
template<> void toJSON<double>(std::ostream & str, const double & n) { str << n; }
}
struct Config struct Config
{ {
std::map<std::string, std::string> options; std::map<std::string, std::string> options;