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
path: root/source
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2021-02-03 21:00:10 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2021-02-03 21:00:10 +0300
commit9734a78bc81b0565d605577ea9a9ff9752b50d13 (patch)
tree2887be62c552b6e9b7658bdacd8b02495ceeccb0 /source
parent9d902d1b30f828d6861e38a3afd068ec5dcecd21 (diff)
macOS: Fix build error due to std::optional<T>::value
Added in rBc5514d3a2a03242ddc43f83be4bb72df7f85469f
Diffstat (limited to 'source')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes.cc2
1 files changed, 1 insertions, 1 deletions
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);