Skip to content

Commit

Permalink
Fix MSVC build
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAWE committed Sep 18, 2024
1 parent 165c816 commit 1ad20fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext/vocabulary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool script_optional::data_t::copy_construct(asITypeInfo* ti, const void* val)
visit_primitive_type(
[this]<typename T>(const T* val)
{
static_assert(sizeof(T) <= sizeof(m_data.storage));
static_assert(sizeof(T) <= sizeof(data_t::storage));
*(T*)storage = *val;
},
subtype_id,
Expand Down

0 comments on commit 1ad20fc

Please sign in to comment.