projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
source
/
testing
/
TestTimer.cpp
diff --git
a/source/testing/TestTimer.cpp
b/source/testing/TestTimer.cpp
index
47c4ccc
..
4825900
100644
(file)
--- a/
source/testing/TestTimer.cpp
+++ b/
source/testing/TestTimer.cpp
@@
-22,7
+22,7
@@
using namespace anna;
using namespace anna::testing;
void TestTimer::expire(anna::timex::Engine*)
using namespace anna::testing;
void TestTimer::expire(anna::timex::Engine*)
-
throw(anna::RuntimeException
) {
+
noexcept(false
) {
TestStep *step = getTestCaseStep();
TestStep *step = getTestCaseStep();
@@
-37,14
+37,14
@@
throw(anna::RuntimeException) {
}
const char* TestTimer::asText(const Type::_v type)
}
const char* TestTimer::asText(const Type::_v type)
-
throw()
{
+{
static const char* text [] = { "TimeLeft", "Delay" };
return text [type];
}
string TestTimer::asString() const
static const char* text [] = { "TimeLeft", "Delay" };
return text [type];
}
string TestTimer::asString() const
-
throw()
{
+{
string result("TestTimer { ");
result += anna::timex::Transaction::asString();
result += " Type: ";
string result("TestTimer { ");
result += anna::timex::Transaction::asString();
result += " Type: ";