Skip to content

Commit

Permalink
remove redundant references (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
4kangjc committed Dec 8, 2022
1 parent 4feff80 commit 37be012
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flare/base/overloaded.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#ifndef FLARE_BASE_OVERLOADED_H_
#define FLARE_BASE_OVERLOADED_H_

#include <type_traits>

namespace flare {

// This class helps you to create a functor that accepts different argument
Expand All @@ -37,7 +35,7 @@ struct Overloaded : Ts... {
};

template <class... Ts>
Overloaded(Ts&&...) -> Overloaded<std::remove_reference_t<Ts>...>;
Overloaded(Ts...) -> Overloaded<Ts...>;

} // namespace flare

Expand Down

0 comments on commit 37be012

Please sign in to comment.