2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#1074] minor changes

This commit is contained in:
Razvan Becheriu
2020-01-21 11:15:26 +02:00
parent 82e2788503
commit d7a0e7f149

View File

@@ -1484,9 +1484,11 @@ public:
/// @param single A boolean value indicating if a single host is /// @param single A boolean value indicating if a single host is
/// expected to be returned, or multiple hosts. /// expected to be returned, or multiple hosts.
void getHostCollection(PgSqlHostContextPtr& ctx, void getHostCollection(PgSqlHostContextPtr& ctx,
StatementIndex stindex, PsqlBindArrayPtr bind, StatementIndex stindex,
PsqlBindArrayPtr bind,
boost::shared_ptr<PgSqlHostExchange> exchange, boost::shared_ptr<PgSqlHostExchange> exchange,
ConstHostCollection& result, bool single) const; ConstHostCollection& result,
bool single) const;
/// @brief Retrieves a host by subnet and client's unique identifier. /// @brief Retrieves a host by subnet and client's unique identifier.
/// ///
@@ -2315,7 +2317,8 @@ PgSqlHostDataSource::add(const HostPtr& host) {
} }
bool bool
PgSqlHostDataSource::del(const SubnetID& subnet_id, const asiolink::IOAddress& addr) { PgSqlHostDataSource::del(const SubnetID& subnet_id,
const asiolink::IOAddress& addr) {
// Get a context // Get a context
PgSqlHostContextAlloc get_context(*impl_); PgSqlHostContextAlloc get_context(*impl_);
PgSqlHostContextPtr ctx = get_context.ctx_; PgSqlHostContextPtr ctx = get_context.ctx_;