make the constructor as explicit.

This commit is contained in:
Liu Ming 2015-12-09 16:51:07 +08:00
parent db103c7868
commit 4d4051ea2b

View File

@ -47,7 +47,7 @@ namespace Opm {
public:
///Constructor for OpmLog.
RelpermDiagnostics(std::string& logFile);
explicit RelpermDiagnostics(std::string& logFile);
///This function is used to diagnosis relperm in
///eclipse data file. Errors and warings will be