• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A lambda-based C++ unit-testing framework.


Commit MetaInfo

Revisão573696871b6d4bbadb3b61b49c79037afb5c1952 (tree)
Hora2020-05-03 22:38:44
AutorKaz Nishimura <kazssym@linu...>
CommiterKaz Nishimura

Mensagem de Log

Define the destructor of 'AssertionError'

Mudança Sumário

Diff

diff -r 206b488248de -r 573696871b6d libcppunitx/bits/cppunitx/exception.h
--- a/libcppunitx/bits/cppunitx/exception.h Sun May 03 20:34:12 2020 +0900
+++ b/libcppunitx/bits/cppunitx/exception.h Sun May 03 22:38:44 2020 +0900
@@ -33,6 +33,13 @@
3333 explicit AssertionError(const char *message) noexcept;
3434
3535 explicit AssertionError(const std::string &message) noexcept;
36+
37+ public:
38+ /// Destructs an `AssertionError` object.
39+ ///
40+ /// This destructor is defined out of line so that this class can be
41+ /// provided by a shared library.
42+ virtual ~AssertionError() noexcept;
3643 };
3744 }
3845
diff -r 206b488248de -r 573696871b6d libcppunitx/exception.cpp
--- a/libcppunitx/exception.cpp Sun May 03 20:34:12 2020 +0900
+++ b/libcppunitx/exception.cpp Sun May 03 22:38:44 2020 +0900
@@ -33,3 +33,7 @@
3333 : inherited {message}
3434 {
3535 }
36+
37+AssertionError::~AssertionError() noexcept
38+{
39+}