Skip to content

Commit 5f8080d

Browse files
wrightsgSimon Wright
andauthored
Fix C2512 compile error with Visual Studio 2015 (#234)
Co-authored-by: Simon Wright <[email protected]>
1 parent bfa51aa commit 5f8080d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fastcdr/xcdr/detail/optional.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct optional_storage
4747

4848
/* *INDENT-OFF* */
4949
template<class T>
50-
struct optional_storage<T, typename std::enable_if<std::is_trivially_destructible<T>{}>::type>
50+
struct optional_storage<T, typename std::enable_if<std::is_trivially_destructible<T>::value>::type>
5151
{
5252
union
5353
{

0 commit comments

Comments
 (0)