Skip to content

Commit

Permalink
fix C2512 compile error with Visual Studio 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Wright authored and Simon Wright committed Aug 29, 2024
1 parent e17fdc4 commit af3e4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fastcdr/xcdr/detail/optional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct optional_storage

/* *INDENT-OFF* */
template<class T>
struct optional_storage<T, typename std::enable_if<std::is_trivially_destructible<T>{}>::type>
struct optional_storage<T, typename std::enable_if<std::is_trivially_destructible<T>::value>::type>
{
union
{
Expand Down

0 comments on commit af3e4ef

Please sign in to comment.