Skip to content

Commit

Permalink
Use the correct template variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Aug 5, 2024
1 parent 7dce466 commit d673864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElunaTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class ElunaTemplate
ASSERT(methodTable);

// determine if the method table functions are global or non-global
constexpr bool isGlobal = std::is_same_v<T, void>;
constexpr bool isGlobal = std::is_same_v<C, void>;

if constexpr (isGlobal)
{
Expand Down

0 comments on commit d673864

Please sign in to comment.