Skip to content

Commit

Permalink
use is_trivially_default_constructible_v instead of is_trivially_cons…
Browse files Browse the repository at this point in the history
…tructible_v without args

Related to: #236
  • Loading branch information
bernhardmgruber committed Jul 9, 2021
1 parent 18fef5c commit 525c35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llama/Core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace llama
/// constructible and trivially destructible.
template<typename T>
inline constexpr bool isAllowedFieldType
= std::is_trivially_constructible_v<T>&& std::is_trivially_destructible_v<T>;
= std::is_trivially_default_constructible_v<T>&& std::is_trivially_destructible_v<T>;

/// Record dimension tree node which may either be a leaf or refer to a child tree presented as another \ref
/// Record.
Expand Down

0 comments on commit 525c35c

Please sign in to comment.