From b213d8324f7cea08efb26f0666b7e9b2451cbf20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= 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.2.3