diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 21:47:32 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 21:47:32 +0800 |
| commit | 35a99ff13a6b656362b61dc37ddba40dd9be1927 (patch) | |
| tree | 3341de73de22911c4fd534cdea3acdd77255b5fa /client.cxx | |
| parent | 7115a02af0de188aa4b974dcb325f7adc11a9a2e (diff) | |
Conform to updated libicclient login interfaces
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -32,9 +32,7 @@ namespace QICClient { void Client::results(QString const& prodGroup) { - icclient_results(prodGroup.toLatin1().constData(), handleResults, [](icclient_catalog* catalog) { - icclient_free_catalog(catalog); - }); + icclient_results(prodGroup.toLatin1().constData(), handleResults, nullptr); } /* void Client::results(QString const& prodGroup, void (*handler)(icclient_fetch_t*)) @@ -44,9 +42,7 @@ namespace QICClient { */ void Client::allProducts() { - icclient_allproducts(handleResults, [](icclient_catalog* catalog) { - icclient_free_catalog(catalog); - }); + icclient_allproducts(handleResults, nullptr); } void Client::allproducts(void (*handler)(icclient_fetch_t* fetch)) |