make the constructor as explicit.

This commit is contained in:
Liu Ming 2015-12-09 16:51:07 +08:00
parent ef203a1d04
commit 8605675199

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