]> git.ipfire.org Git - thirdparty/kea.git/commit
Fix compilation with GCC 6.0 std::make_pair changes 29/head
authorAndreas Rammhold <andreas@rammhold.de>
Tue, 6 Sep 2016 12:37:05 +0000 (14:37 +0200)
committerAndreas Rammhold <andreas@rammhold.de>
Tue, 6 Sep 2016 12:37:05 +0000 (14:37 +0200)
commit482663a3c9fd2c05c19d4907145eaf5893a5d55a
tree87bc059e6dce56c827363a2835159a399f35b7ff
parentac0266e395065090482a3372324c8938ca17e7bc
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).
src/lib/dhcpsrv/cql_lease_mgr.cc
src/lib/dhcpsrv/pgsql_host_data_source.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc