From 2252bc6a5527cd7360d1ccfe7a2d1bc640a8dfa6 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 18 Mar 2022 10:57:45 +0100 Subject: BLI: move CPPType to blenlib For more detail about `CPPType`, see `BLI_cpp_type.hh` and D14367. Differential Revision: https://developer.blender.org/D14367 --- source/blender/functions/FN_field_cpp_type.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source/blender/functions/FN_field_cpp_type.hh') diff --git a/source/blender/functions/FN_field_cpp_type.hh b/source/blender/functions/FN_field_cpp_type.hh index 24477246582..63a648f3202 100644 --- a/source/blender/functions/FN_field_cpp_type.hh +++ b/source/blender/functions/FN_field_cpp_type.hh @@ -6,7 +6,7 @@ * \ingroup fn */ -#include "FN_cpp_type_make.hh" +#include "BLI_cpp_type_make.hh" #include "FN_field.hh" namespace blender::fn { @@ -127,16 +127,14 @@ class ValueOrFieldCPPType : public CPPType { } // namespace blender::fn #define MAKE_FIELD_CPP_TYPE(DEBUG_NAME, FIELD_TYPE) \ - template<> \ - const blender::fn::CPPType &blender::fn::CPPType::get_impl>() \ + template<> const blender::CPPType &blender::CPPType::get_impl>() \ { \ static blender::fn::FieldCPPType cpp_type{ \ blender::fn::FieldCPPTypeParam>(), STRINGIFY(DEBUG_NAME)}; \ return cpp_type; \ } \ template<> \ - const blender::fn::CPPType & \ - blender::fn::CPPType::get_impl>() \ + const blender::CPPType &blender::CPPType::get_impl>() \ { \ static blender::fn::ValueOrFieldCPPType cpp_type{ \ blender::fn::FieldCPPTypeParam>(), \ -- cgit v1.2.3