From 7e0fae9738aa216718512007b690ed1ec2065917 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Wed, 28 Aug 2019 21:34:07 -0400 Subject: [PATCH 1/2] Add gcc9 and correct clang8 travis entries --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2b986aa..f4daab3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,6 +120,16 @@ matrix: sources: - ubuntu-toolchain-r-test + - os: linux + compiler: g++-9 + env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=03,11,14,17,2a + addons: + apt: + packages: + - g++-9 + sources: + - ubuntu-toolchain-r-test + - os: linux compiler: clang++ env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11 @@ -244,7 +254,7 @@ matrix: - os: linux compiler: clang++-8 - env: TOOLSET=clang COMPILER=clang++-8 STANDARD=03,11,14,17,2a + env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=03,11,14,17,2a addons: apt: packages: From ec67130557a7049663018cea120c338ae1676f0a Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Thu, 29 Aug 2019 04:04:09 -0400 Subject: [PATCH 2/2] Correct include order --- include/boost/functional/factory.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/functional/factory.hpp b/include/boost/functional/factory.hpp index 4e0e1ba..a7cd9d7 100644 --- a/include/boost/functional/factory.hpp +++ b/include/boost/functional/factory.hpp @@ -10,10 +10,10 @@ Distributed under the Boost Software License, Version 1.0. #ifndef BOOST_FUNCTIONAL_FACTORY_HPP #define BOOST_FUNCTIONAL_FACTORY_HPP +#include #include #include #include -#include #if !defined(BOOST_NO_CXX11_ALLOCATOR) #include #endif @@ -141,15 +141,15 @@ public: private: typedef typename fc_pointer::type pointer; - fc_allocate(const fc_allocate&); - fc_allocate& operator=(const fc_allocate&); - pointer release() BOOST_NOEXCEPT { pointer p = p_; p_ = pointer(); return p; } + fc_allocate(const fc_allocate&); + fc_allocate& operator=(const fc_allocate&); + A a_; pointer p_; };