Changed interface of openFile()

The error message string pointer does now not have a default value any
more (NULL).
This commit is contained in:
Stein Dale 2015-06-04 13:05:36 +02:00
parent fcfd2603e0
commit bd6e6acc53
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public:
RifGeoMechReaderInterface();
virtual ~RifGeoMechReaderInterface();
virtual bool openFile(const std::string& fileName, std::string* errorMessage = 0) = 0;
virtual bool openFile(const std::string& fileName, std::string* errorMessage) = 0;
virtual bool readFemParts(RigFemPartCollection* geoMechCase) = 0;
virtual std::vector<std::string> stepNames() = 0;

View File

@ -40,7 +40,7 @@ public:
RifOdbReader();
virtual ~RifOdbReader();
virtual bool openFile(const std::string& fileName, std::string* errorMessage = 0);
virtual bool openFile(const std::string& fileName, std::string* errorMessage);
virtual bool readFemParts(RigFemPartCollection* geoMechCase);
virtual std::vector<std::string> stepNames();