Skip to content

Commit

Permalink
default template was missing a few args
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc authored Dec 29, 2023
1 parent f3abf91 commit cd34fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jwt-cpp/traits/defaults.h.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ namespace jwt {

/**
* Create a builder using the default clock
* \return builder instance
* \return builder instance to create a new token
*/
inline builder<default_clock, traits::{{traits_name}}> create() {
return builder<default_clock, traits::{{traits_name}}>();
return builder<default_clock, traits::{{traits_name}}>(default_clock{});
}

#ifndef JWT_DISABLE_BASE64
Expand Down

0 comments on commit cd34fb9

Please sign in to comment.