Fixed explicit making cppcheck fail and some lineendings
(cherry picked from commit 25178d9dcb)
This commit is contained in:
@@ -96,7 +96,7 @@ template <class T>
|
||||
class multiplex_target : public basic_multiplex_target
|
||||
{
|
||||
public:
|
||||
multiplex_target(T& _t) : target_(_t) {}
|
||||
explicit multiplex_target(T& _t) : target_(_t) {}
|
||||
virtual void operator<<(const std::string& _s) { target_ << _s; }
|
||||
private:
|
||||
T& target_;
|
||||
|
||||
@@ -90,7 +90,7 @@ public:
|
||||
*
|
||||
* @param _resolution specifies the desired resolution for the random number generated
|
||||
*/
|
||||
RandomNumberGenerator(const size_t _resolution);
|
||||
explicit RandomNumberGenerator(const size_t _resolution);
|
||||
|
||||
/// returns a random double between 0.0 and 1.0 with a guaranteed resolution
|
||||
double getRand() const;
|
||||
|
||||
Reference in New Issue
Block a user