From 6e55e033fb89f32dfd798cf50320ad8fc6c488d3 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Thu, 16 Jul 2015 22:32:53 +0200 Subject: [PATCH] build fix --- test.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test.cpp b/test.cpp index 84d9b80..95dea28 100644 --- a/test.cpp +++ b/test.cpp @@ -219,6 +219,7 @@ public: }; */ +/* template class copymove { @@ -261,6 +262,7 @@ public: return move(right._content); } }; +*/ class DispatcherPool { @@ -673,12 +675,14 @@ int main(int /*argc*/, char** /*argv*/) capture(2); + /* std::unique_ptr uptr(new int(90)); copymove> mycapture(std::move(uptr)); auto capt = [mycapture] { }; + */ DispatcherPool countPool(1); @@ -686,7 +690,7 @@ int main(int /*argc*/, char** /*argv*/) auto const seed = std::chrono::steady_clock::now().time_since_epoch().count(); - std::mt19937 rng(seed); + std::mt19937 rng(static_cast(seed)); std::uniform_int_distribution gen(10, 150); std::vector container;