Skip to content

Commit

Permalink
Do not use list initializers in constructor member initialisation to …
Browse files Browse the repository at this point in the history
…ensure compatibility with older gcc compilers
  • Loading branch information
Kingsley Cheung committed Jun 3, 2022
1 parent 6a4ec08 commit ddda7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fakeit/StubbingProgress.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ namespace fakeit {
template <typename T, int N>
struct ArgValue
{
ArgValue(T &&v): value { std::forward<T>(v) } {}
ArgValue(T &&v): value ( std::forward<T>(v) ) {}
constexpr static int pos = N;
T value;
};
Expand Down

0 comments on commit ddda7ed

Please sign in to comment.