Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhole committed Sep 27, 2024
1 parent 332e4df commit 9c32ba0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/preview/__type_traits/is_add_assignable.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include "preview/__type_traits/void_t.h"
#include "preview/__utility/type_sequence.h"

#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4244)
#endif

namespace preview {

template<typename T, typename U, template<typename...> class Constraint = always_true,
Expand All @@ -26,4 +31,8 @@ struct is_add_assignable<T, U, Constraint, CallArgs, Proj, void_t<decltype(std::

} // namespace preview

#ifdef _MSC_VER
#pragma warning( pop )
#endif

#endif // PREVIEW_TYPE_TRAITS_IS_ADD_ASSIGNABLE_H_
9 changes: 9 additions & 0 deletions include/preview/__type_traits/is_subtract_assignable.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include "preview/__type_traits/void_t.h"
#include "preview/__utility/type_sequence.h"

#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4244)
#endif

namespace preview {

template<typename T, typename U, template<typename...> class Constraint = always_true,
Expand All @@ -26,4 +31,8 @@ struct is_subtract_assignable<T, U, Constraint, CallArgs, Proj, void_t<decltype(

} // namespace preview

#ifdef _MSC_VER
#pragma warning( pop )
#endif

#endif // PREVIEW_TYPE_TRAITS_IS_SUBTRACT_ASSIGNABLE_H_

0 comments on commit 9c32ba0

Please sign in to comment.