From defcaf7f9bcb356a18613768a7e08347ad97c01f Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 15 Apr 2022 18:26:42 +0100 Subject: [PATCH] Add missing #include. Add missing copyright. --- include/boost/type_traits/has_nothrow_assign.hpp | 2 +- module/type_traits.cxx | 7 +++++++ test/test_module.cpp | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/include/boost/type_traits/has_nothrow_assign.hpp b/include/boost/type_traits/has_nothrow_assign.hpp index f3a8212..62bbe21 100644 --- a/include/boost/type_traits/has_nothrow_assign.hpp +++ b/include/boost/type_traits/has_nothrow_assign.hpp @@ -15,7 +15,7 @@ #include #include -#if (defined(BOOST_MSVC) || defined(BOOST_INTEL)) +#if (defined(BOOST_MSVC) || defined(BOOST_INTEL) || defined(BOOST_NO_CXX11_NOEXCEPT) || defined(BOOST_NO_CXX11_RVALUE_REFERENCES)) #include #endif #if !defined(BOOST_HAS_NOTHROW_ASSIGN) diff --git a/module/type_traits.cxx b/module/type_traits.cxx index c826c6a..0895437 100644 --- a/module/type_traits.cxx +++ b/module/type_traits.cxx @@ -1,3 +1,10 @@ +// (C) John Maddock 2022. +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt). +// +// See http://www.boost.org/libs/type_traits for most recent version including documentation. + module; #ifdef _MSC_VER diff --git a/test/test_module.cpp b/test/test_module.cpp index 2a5a9bc..82bb282 100644 --- a/test/test_module.cpp +++ b/test/test_module.cpp @@ -1,3 +1,9 @@ +// (C) John Maddock 2022. +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt). +// +// See http://www.boost.org/libs/type_traits for most recent version including documentation. #include