Skip to content

Commit

Permalink
Fix cannot convert bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrM committed Oct 30, 2022
1 parent 66bf017 commit 6284ed0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CleanCheat/RunnerBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ ABSTRACT class RunnerBase
/// <summary>
/// Register feature
/// </summary>
template <class T>
bool RegisterFeature(FeatureBase<T>* feature)
template <class T, class S = FeatureSettings>
bool RegisterFeature(FeatureBase<T, S>* feature)
{
if (!feature->IsInitialized())
return false;

_features.push_back(feature);
_features.push_back(reinterpret_cast<FeatureBase<TType>*>(feature));

return true;
}
Expand Down

0 comments on commit 6284ed0

Please sign in to comment.