mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-09 02:15:21 +00:00
Fix compilation with GCC 6.0 std::make_pair changes
With C++14, std::make_pair<T,U>(t,u) expects rvalue. If trying to pass an lvalue, either std::make_pair(t,u) and type is deduced, or std::pair<T,U>(t,y).
This commit is contained in:
@@ -1698,7 +1698,7 @@ std::pair<uint32_t, uint32_t> PgSqlHostDataSourceImpl::getVersion() const {
|
||||
uint32_t minor;
|
||||
PgSqlExchange::getColumnValue(r, 0, 0, minor);
|
||||
|
||||
return (std::make_pair<uint32_t, uint32_t>(version, minor));
|
||||
return (std::make_pair(version, minor));
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user