c++utils: fix "random" class, remove porterr
* c++utils: fix random class to return template type in generator
Fix operator() to return template argument type (IntType) instead of `int`
* Remove porterr from tools
This will be added in a later commit
@@ -155,7 +155,7 @@ namespace utils
/// @brief generates a random integer
/// @returns a random number between range
/// lo_ and hi_
- int operator()()
+ IntType operator()()
{
return dist_(gen_);
}
