Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-06-24 19:36:42 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-06-24 19:36:42 +0300
commitac0852cea0d607b97de1930841fadb1ac1b019e9 (patch)
treeed40f3b258c78c64cfdf896cfbdd8b5ddd5f55ae /extern/mantaflow
parentba380fc0bf7b646d2c5d4832f6111879b3dd3f97 (diff)
Fluid: Fix OpenVDB compiler warnings
Kudos to brecht for noticing the issue
Diffstat (limited to 'extern/mantaflow')
-rw-r--r--extern/mantaflow/preprocessed/fileio/iovdb.cpp2
-rw-r--r--extern/mantaflow/preprocessed/gitinfo.h2
2 files changed, 2 insertions, 2 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.
diff --git a/extern/mantaflow/preprocessed/gitinfo.h b/extern/mantaflow/preprocessed/gitinfo.h
index 1e96ee26de2..e4183ec342b 100644
--- a/extern/mantaflow/preprocessed/gitinfo.h
+++ b/extern/mantaflow/preprocessed/gitinfo.h
@@ -1,3 +1,3 @@
-#define MANTA_GIT_VERSION "commit 6725e6840a906167cc63474a22fc822d9aebf3e7"
+#define MANTA_GIT_VERSION "commit 5ae24e860cf15f1310666e119575cc01bea48598"