Changeset 9396c52 in mainline for uspace/lib/cpp/src/exception.cpp


Ignore:
Timestamp:
2018-07-05T21:41:20Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4049e6
Parents:
7d0f2eb
git-author:
Dzejrou <dzejrou@…> (2018-03-15 10:37:55)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: added std::terminate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/src/exception.cpp

    r7d0f2eb r9396c52  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
     28
     29#include <cstdlib>
    2830#include <exception>
    2931
    3032namespace std
    3133{
     34    [[noreturn]] void terminate() noexcept
     35    {
     36        abort();
     37    }
     38
    3239    const char* exception::what() const
    3340    {
Note: See TracChangeset for help on using the changeset viewer.