Skip to content

Commit

Permalink
Fix unused var dummy_array in Callable.hpp:76
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Sep 12, 2021
1 parent 573418f commit adf42d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Callback/Callable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Callable {
return 0;
};
const int dummy_array[] = {dummy(std::forward<Args>(args))...};
(void) dummy_array;

if constexpr(!std::is_void_v<Ret>)
return Ret{};
Expand Down

0 comments on commit adf42d0

Please sign in to comment.