diff options
author | Julian Eisel <julian@blender.org> | 2020-06-29 18:27:55 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-29 18:28:37 +0300 |
commit | bcf49d13e53454cf79490a7e825c4a44a0144d11 (patch) | |
tree | 5e4b4bc6608deea52da728b9ea15e0fa82497409 /source/blender/blenlib/intern/dot_export.cc | |
parent | 937d89afba36ea0f22ad929d2c8bdf8a853dc7d8 (diff) |
Fix compile error on Apple Clang
Needs to compile with `CMAKE_OSX_DEPLOYMENT_TARGET` of 10.14 at least to
have `std::optional<>::value()` available. So we have to increase the
minimum required compiler version, but that requires more changes. Just
fix the build error for now.
Diffstat (limited to 'source/blender/blenlib/intern/dot_export.cc')
-rw-r--r-- | source/blender/blenlib/intern/dot_export.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/dot_export.cc b/source/blender/blenlib/intern/dot_export.cc index aa1b09e1df3..ff39265d681 100644 --- a/source/blender/blenlib/intern/dot_export.cc +++ b/source/blender/blenlib/intern/dot_export.cc @@ -237,7 +237,7 @@ void NodePort::to_dot_string(std::stringstream &ss) const { m_node->export__as_id(ss); if (m_port_name.has_value()) { - ss << ":" << m_port_name.value(); + ss << ":" << *m_port_name; } } |