Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Apr 26, 2017
1 parent 86aa851 commit 1f94f03
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/hydra-queue-runner/hydra-queue-runner.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 1f94f03

Please sign in to comment.