Skip to content
Snippets Groups Projects
Commit 955c2da8 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Minor] mark constructor as default.

parent 81520b17
No related branches found
No related tags found
No related merge requests found
Pipeline #13375 passed with warnings
......@@ -35,7 +35,7 @@ namespace hpp {
typedef typename std::vector < ProbaTPair >::iterator iterator;
typedef typename std::vector < ProbaTPair >::const_iterator const_iterator;
DiscreteDistribution () : values_(), cumulative_weights_() {}
DiscreteDistribution () = default;
Value_t operator() () const {
assert (values_.size() > 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment