forked from lix-project/hydra
Fix build
This commit is contained in:
parent
86aa851d8d
commit
1f94f03699
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue