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;
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
{
std::map<std::string, std::string> options;