Changeset 74b03e3 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:23Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
47203ee3
Parents:
0d221d2
git-author:
Dzejrou <dzejrou@…> (2018-05-08 17:20:51)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: updated copyright in exception and added missing noexcept to bad_alloc

Location:
uspace/lib/cpp/include/impl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/exception.hpp

    r0d221d2 r74b03e3  
    11/*
    2  * Copyright (c) 2017 Jaroslav Jindrak
     2 * Copyright (c) 2018 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    4545            exception& operator=(const exception&) noexcept = default;
    4646            virtual ~exception() = default;
     47
    4748            virtual const char* what() const noexcept;
    4849    };
  • uspace/lib/cpp/include/impl/new.hpp

    r0d221d2 r74b03e3  
    4141                bad_alloc(const bad_alloc&);
    4242                bad_alloc& operator=(const bad_alloc&) = default;
    43                 virtual const char* what() const override;
     43                virtual const char* what() const noexcept override;
    4444                virtual ~bad_alloc() = default;
    4545};
Note: See TracChangeset for help on using the changeset viewer.