summaryrefslogtreecommitdiff
path: root/service/apiImpl.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 13:41:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 13:41:38 +0100
commitf3e2dd7780bb90feff6b2f7a36797752a4933ff6 (patch)
tree70b494839b379ab96cae33b01ae9ef6c1e893340 /service/apiImpl.h
parentAdd a redirect to work as a Gentoo mirror (diff)
downloadmirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.bz2
mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.xz
mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.zip
C++17 and Ice 3.7
Updates all components to be C++17 and Ice 3.7
Diffstat (limited to 'service/apiImpl.h')
-rw-r--r--service/apiImpl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/apiImpl.h b/service/apiImpl.h
index e56368c..0ee7972 100644
--- a/service/apiImpl.h
+++ b/service/apiImpl.h
@@ -8,11 +8,11 @@
namespace MirrorSearch {
class SearchImpl : public Search, public IceTray::AbstractDatabaseClient {
public:
- SearchImpl(IceTray::DatabasePoolPtr);
+ SearchImpl(const DB::ConnectionPoolPtr &);
virtual SearchServices getServices(const ::Ice::Current& = ::Ice::Current()) override;
- virtual SearchHits getMatches(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) override;
- virtual ::IceUtil::Optional<::std::string> feelingLucky(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) override;
+ virtual SearchHits getMatches(const ::std::string, const ::Ice::Current& = ::Ice::Current()) override;
+ virtual ::IceUtil::Optional<::std::string> feelingLucky(const ::std::string, const ::Ice::Current& = ::Ice::Current()) override;
private:
void callService(const ::std::string & fn, const SearchServicePtr & s, SearchHits & sh) const;