Skip to content

Commit

Permalink
Fix arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
ohto-ai committed Jul 11, 2023
1 parent b4431e4 commit 752c0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/cron-schedule/cron-schedule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace ohtoai{
/// @param task_name The taks name. e.g. "myTask"
/// @param cron The cron schedule. e.g. "0 0 0 * * *"
/// @param callback The callback function.
void add_task(const std::string& task_name, const cronexpr& cron, std::function<void(cron_task& )> callback);
void add_task(const std::string& task_name, const cron::cronexpr& cron, std::function<void(cron_task& )> callback);

private: // member variables
// todo: add member variables here.
Expand Down

0 comments on commit 752c0e4

Please sign in to comment.