mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
mark constructors explicit
This commit is contained in:
1 parent
990c3f0248
commit
6d964c1370
145 files changed
+184
-181
No files matched your search
@@ -164,7 +164,7 @@ class Tutorial1Problem
|
||||
public:
|
||||
//! The constructor of the problem. This only _allocates_ the memory required by the
|
||||
//! problem. The constructor is supposed to _never ever_ throw an exception.
|
||||
Tutorial1Problem(Simulator& simulator)
|
||||
explicit Tutorial1Problem(Simulator& simulator)
|
||||
: ParentType(simulator)
|
||||
, eps_(3e-6)
|
||||
{ }
|
||||
|
||||
Reference in new issue
Block a user