Skip to content

Commit

Permalink
Add missing parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
CrackedMatter committed Dec 20, 2024
1 parent 7c70f1d commit 0603cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/safetyhook/easy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ template <typename T, typename U>
/// @param destination The destination function.
/// @param flags The flags to use.
/// @return The MidHook object.
[[nodiscard]] MidHook create_mid(void* target, MidHookFn destination, MidHook::Flags = MidHook::Default);
[[nodiscard]] MidHook create_mid(void* target, MidHookFn destination, MidHook::Flags flags = MidHook::Default);

/// @brief Easy to use API for creating a MidHook.
/// @param target the address of the function to hook.
Expand Down

0 comments on commit 0603cff

Please sign in to comment.