Parcourir la source

[master] Merge branch 'trac4328_1'

Marcin Siodelski il y a 8 ans
Parent
commit
ad68c39428

+ 3 - 0
AUTHORS

@@ -109,6 +109,9 @@ We have received the following contributions:
  - Michal Humpula
    2016-07: Response to DHCPINFORM is sent to port 68
 
+ - Andreas Rammhold
+   2016-09: Compilation fixes for GCC 6, using C++14.
+
 Kea uses log4cplus (http://sourceforge.net/projects/log4cplus/) for logging,
 Boost (http://www.boost.org/) library for almost everything, and can use Botan
 (http://botan.randombit.net/) or OpenSSL (https://www.openssl.org/) for

+ 1 - 1
src/lib/dhcpsrv/cql_lease_mgr.cc

@@ -1954,7 +1954,7 @@ CqlLeaseMgr::getVersion() const {
     cass_future_free(future);
     cass_statement_free(statement);
 
-    return make_pair<uint32_t, uint32_t>(version, minor);
+    return (make_pair(version, minor));
 }
 
 void

+ 1 - 1
src/lib/dhcpsrv/pgsql_host_data_source.cc

@@ -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

+ 1 - 1
src/lib/dhcpsrv/pgsql_lease_mgr.cc

@@ -1391,7 +1391,7 @@ PgSqlLeaseMgr::getVersion() const {
     tmp.str(PQgetvalue(r, 0, 1));
     tmp >> minor;
 
-    return make_pair<uint32_t, uint32_t>(version, minor);
+    return (make_pair(version, minor));
 }
 
 void