From 8dc8009311813854c1be32380c5e2c1754161108 Mon Sep 17 00:00:00 2001 From: Hamidreza Norouzi Date: Thu, 25 Jan 2024 03:09:08 -0800 Subject: [PATCH] properry class refactored --- src/Property/property.cpp | 4 ++-- src/Property/property.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);