core: use C++11 <random> instead of Boost.Random
Change-Id: I8f22965b86c681581762a47995f29f888421a558
Refs: #3599
diff --git a/daemon/fw/asf-probing-module.cpp b/daemon/fw/asf-probing-module.cpp
index 99449cd..485a3e9 100644
--- a/daemon/fw/asf-probing-module.cpp
+++ b/daemon/fw/asf-probing-module.cpp
@@ -24,11 +24,8 @@
*/
#include "asf-probing-module.hpp"
-
#include "core/random.hpp"
-#include <boost/random/uniform_real_distribution.hpp>
-
namespace nfd {
namespace fw {
namespace asf {
@@ -186,8 +183,8 @@
double
ProbingModule::getRandomNumber(double start, double end)
{
- boost::random::uniform_real_distribution<double> distribution(start, end);
- return distribution(getGlobalRng());
+ std::uniform_real_distribution<double> dist(start, end);
+ return dist(getGlobalRng());
}
} // namespace asf