forked from boostorg/exception
Compare commits
4 Commits
boost-1.31
...
boost-1.33
Author | SHA1 | Date | |
---|---|---|---|
1a100c615a | |||
460a66a460 | |||
ae714358ad | |||
98c7eb7d68 |
@ -12,10 +12,9 @@
|
||||
//
|
||||
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
|
||||
//
|
||||
// Permission to copy, use, modify, sell and distribute this software
|
||||
// is granted provided this copyright notice appears in all copies.
|
||||
// This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
// Distributed under 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)
|
||||
//
|
||||
// http://www.boost.org/libs/utility/throw_exception.html
|
||||
//
|
||||
@ -35,7 +34,7 @@ void throw_exception(std::exception const & e); // user defined
|
||||
|
||||
#else
|
||||
|
||||
template<class E> void throw_exception(E const & e)
|
||||
template<class E> inline void throw_exception(E const & e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user