From 8ace9377417f579af98470be77eda0565a7c8146 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Wed, 11 Dec 2024 15:04:02 -0500 Subject: [PATCH] Doc fix --- doc/ref/jmespath/jmespath.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/doc/ref/jmespath/jmespath.md b/doc/ref/jmespath/jmespath.md index 563ed76b7..05740476a 100644 --- a/doc/ref/jmespath/jmespath.md +++ b/doc/ref/jmespath/jmespath.md @@ -171,17 +171,6 @@ class my_custom_functions : public jmespath::custom_functions public: my_custom_functions() { - this->register_function("current_date_time", // function name - 0, // number of arguments - [](const jsoncons::span> params, - jmespath::dynamic_resources& resources, - std::error_code& ec) -> pointer - { - auto now = std::chrono::system_clock::now(); - auto milliseconds = std::chrono::duration_cast(now.time_since_epoch()); - return resources.make_json(milliseconds.count()); - } - ); this->register_function("current_index", // function name 0, // number of arguments [](const jsoncons::span> params,