c++ style changes: use this-> for calling object's methods

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
helen-brooks 2021-06-17 09:15:27 +01:00 committed by GitHub
parent 130724e3f7
commit 6c106433e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1584,13 +1584,13 @@ MOABMesh::MOABMesh(const std::string& filename) {
MOABMesh::MOABMesh(std::shared_ptr<moab::Interface> external_mbi) {
mbi_ = external_mbi;
filename_ = "unknown (external file)";
initialize();
this->initialize();
}
void MOABMesh::initialize() {
// Create the MOAB interface and load data from file
create_interface();
this->create_interface();
// Initialise MOAB error code
moab::ErrorCode rval = moab::MB_SUCCESS;