X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fassign%2Fassignment_exception.hpp;h=5a52fcd421af56375da5aa571bf1d9ecbcbf9c57;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=96ea41741c050ec26cd2b7b03cf9c047ca78aed1;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/assign/assignment_exception.hpp b/ceph/src/boost/boost/assign/assignment_exception.hpp index 96ea41741..5a52fcd42 100644 --- a/ceph/src/boost/boost/assign/assignment_exception.hpp +++ b/ceph/src/boost/boost/assign/assignment_exception.hpp @@ -12,12 +12,13 @@ #ifndef BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP #define BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP -#if defined(_MSC_VER) +#include +#include + +#if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif -#include - namespace boost { namespace assign @@ -28,12 +29,12 @@ namespace boost assignment_exception( const char* _what ) : what_( _what ) { } - - virtual const char* what() const throw() + + virtual const char* what() const BOOST_NOEXCEPT_OR_NOTHROW { return what_; } - + private: const char* what_; };