From b213d8324f7cea08efb26f0666b7e9b2451cbf20 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Fri, 11 Jun 2021 08:07:54 +0800 Subject: Results handler default argument --- qicclient/client.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qicclient/client.hxx b/qicclient/client.hxx index d508b16..1bc5ea4 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -30,13 +30,13 @@ namespace QICClient { * \param prodGroup The name of the product group. * \param handler A pointer to a cURL write function callback. */ - void results(QString const& prodGroup, icclient_handler handler); + void results(QString const& prodGroup, icclient_handler handler = nullptr); /*! * \brief For fetching data about all active products. * \param handler A pointer to a cURL write function callback. */ - void allProducts(icclient_handler handler); + void allProducts(icclient_handler handler = nullptr); void emitCatalog(icclient_catalog *catalog); -- cgit v1.3