Timestamp:
Apr 23, 2021, 8:51:43 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
c18a79
Parents:
2b88eb
git-author:
Frederik Heber <frederik.heber@…> (11/25/20 00:09:13)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 20:51:43)
Message:

Observable_protector requires noexcept(false).

  • otherwise we cannot use the CircleDetection unit test anymore as C++11 default behavior is to terminate if an exception is thrown during a destructor (here, Observable_protector, i.e. OBSERVE; going out of scope). The unit test expects an AssertionFailure which we then no longer obtain but the whole test terminates. Therefore we set to noexcept(false) and allow exceptions to escape.
(No files)

Note: See TracChangeset for help on using the changeset viewer.