[Bf-blender-cvs] [9734a78bc81] master: macOS: Fix build error due to std::optional<T>::value
Ankit Meel
noreply at git.blender.org
Wed Feb 3 19:01:20 CET 2021
Commit: 9734a78bc81b0565d605577ea9a9ff9752b50d13
Author: Ankit Meel
Date: Wed Feb 3 23:30:10 2021 +0530
Branches: master
https://developer.blender.org/rB9734a78bc81b0565d605577ea9a9ff9752b50d13
macOS: Fix build error due to std::optional<T>::value
Added in rBc5514d3a2a03242ddc43f83be4bb72df7f85469f
===================================================================
M source/blender/modifiers/intern/MOD_nodes.cc
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc
index 74cfcefc842..f967fa5ea2f 100644
--- a/source/blender/modifiers/intern/MOD_nodes.cc
+++ b/source/blender/modifiers/intern/MOD_nodes.cc
@@ -280,7 +280,7 @@ class GeometryNodesEvaluator {
&socket_to_compute, from_socket);
std::optional<GMutablePointer> value = value_by_input_.pop_try(key);
if (value.has_value()) {
- values.append(value.value());
+ values.append(*value);
}
else {
this->compute_output_and_forward(*from_socket);
More information about the Bf-blender-cvs
mailing list