diff options
Diffstat (limited to 'extern/mantaflow/preprocessed/fileio/iovdb.cpp')
-rw-r--r-- | extern/mantaflow/preprocessed/fileio/iovdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/mantaflow/preprocessed/fileio/iovdb.cpp b/extern/mantaflow/preprocessed/fileio/iovdb.cpp index 31958dcb977..b31f7e0e760 100644 --- a/extern/mantaflow/preprocessed/fileio/iovdb.cpp +++ b/extern/mantaflow/preprocessed/fileio/iovdb.cpp @@ -478,7 +478,7 @@ int readObjectsVDB(const string &filename, std::vector<PbClass *> *objects, floa } // For every manta object, we loop through the vdb grid list and check for a match - for (const openvdb::GridBase::Ptr vdbGrid : gridsVDB) { + for (const openvdb::GridBase::Ptr &vdbGrid : gridsVDB) { bool nameMatch = (vdbGrid->getName() == (*iter)->getName()); // Sanity checks: Only load valid grids and make sure names match. |