Commit: b394e05118c02b9476c6bbc88d208cc0bc075c1d
Author: Sergey Sharybin
Date: Fri Nov 9 11:46:09 2018 +0100
Branches: master
https://developer.blender.org/rBb394e05118c02b9476c6bbc88d208cc0bc075c1d
Cycles: Cleanup, some documentation
===================================================================
M intern/cycles/util/util_vector.h
===================================================================
diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h
index 0df490a5ef4..082c531b69a 100644
--- a/intern/cycles/util/util_vector.h
+++ b/intern/cycles/util/util_vector.h
@@ -46,6 +46,7 @@ public:
/* Inherit all constructors from base class. */
using BaseClass::vector;
+ /* Try as hard as possible to use zero memory. */
void free_memory(void)
{
BaseClass::resize(0);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs