diff --git a/src/Property/property.cpp b/src/Property/property.cpp index e87de71e..25573665 100644 --- a/src/Property/property.cpp +++ b/src/Property/property.cpp @@ -82,7 +82,7 @@ bool pFlow::property::makeNameIndex() pFlow::property::property ( - const word& name, + const word& fileName, const wordVector& materials, const realVector& densities, repository* owner @@ -92,7 +92,7 @@ pFlow::property::property ( objectFile ( - name, + fileName, "", objectFile::READ_NEVER, objectFile::WRITE_NEVER diff --git a/src/Property/property.hpp b/src/Property/property.hpp index bba952ab..e60cbbbf 100644 --- a/src/Property/property.hpp +++ b/src/Property/property.hpp @@ -81,7 +81,7 @@ public: const word& fileName, repository* owner=nullptr); - property(const word& name, + property(const word& fileName, const wordVector& materials, const realVector& densities, repository* owner=nullptr);