diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-19 18:16:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-19 18:29:02 +0300 |
commit | 8f9b812d79fae64ee622760338a7c5920c94ab05 (patch) | |
tree | 48db537587ccd621d89addd2ba97bbd94a736b50 /source | |
parent | 0c8749788cafad72ab302169f5a2ec55818b7814 (diff) |
Fix build error on i386 due to wrong use of float_t
Was supposed to be float, likely copy paste error from int32_t.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/idprop_create.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/idprop_create.cc b/source/blender/blenkernel/intern/idprop_create.cc index f549393fd12..499a43ee0a7 100644 --- a/source/blender/blenkernel/intern/idprop_create.cc +++ b/source/blender/blenkernel/intern/idprop_create.cc @@ -76,7 +76,7 @@ template< std::unique_ptr<IDProperty, IDPropertyDeleter> create_array(StringRefNull prop_name, Span<PrimitiveType> values) { - static_assert(std::is_same_v<PrimitiveType, int32_t> || std::is_same_v<PrimitiveType, float_t> || + static_assert(std::is_same_v<PrimitiveType, int32_t> || std::is_same_v<PrimitiveType, float> || std::is_same_v<PrimitiveType, double>, "Allowed values for PrimitiveType are int32_t, float and double."); static_assert(!std::is_same_v<PrimitiveType, int32_t> || id_property_subtype == IDP_INT, |