Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Aug 8, 2024
1 parent 3ee0dc4 commit 70daf28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/fplus/maybe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class maybe {
__pragma(warning(push))
__pragma(warning(disable : 4127))
#endif
alignas(T) unsigned char value_[sizeof(T)];
alignas(T) unsigned char value_[sizeof(T)];
#ifdef _MSC_VER
__pragma(warning(pop))
#endif
Expand Down
5 changes: 2 additions & 3 deletions include_all_in_one/include/fplus/fplus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,8 +868,7 @@ namespace internal {
static std::false_type is_refwrap_test(const U&);

template <typename T>
struct is_reference_wrapper : decltype(is_refwrap_test(std::declval<T>())) {
};
struct is_reference_wrapper : decltype(is_refwrap_test(std::declval<T>())) {};

template <typename T, typename U = typename std::decay<T>::type>
struct unwrap_reference_wrapper {
Expand Down Expand Up @@ -2801,7 +2800,7 @@ class maybe {
__pragma(warning(push))
__pragma(warning(disable : 4127))
#endif
alignas(T) unsigned char value_[sizeof(T)];
alignas(T) unsigned char value_[sizeof(T)];
#ifdef _MSC_VER
__pragma(warning(pop))
#endif
Expand Down

0 comments on commit 70daf28

Please sign in to comment.