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
/
dbms
/
ShortBlock.cpp
diff --git
a/source/dbms/ShortBlock.cpp
b/source/dbms/ShortBlock.cpp
index
a47de5f
..
867ce5a
100644
(file)
--- a/
source/dbms/ShortBlock.cpp
+++ b/
source/dbms/ShortBlock.cpp
@@
-13,7
+13,7
@@
using namespace anna;
dbms::ShortBlock& dbms::ShortBlock::operator = (const dbms::ShortBlock & other)
using namespace anna;
dbms::ShortBlock& dbms::ShortBlock::operator = (const dbms::ShortBlock & other)
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(this == &other)
return *this;
if(this == &other)
return *this;
@@
-26,7
+26,7
@@
throw(RuntimeException) {
}
dbms::ShortBlock& dbms::ShortBlock::operator = (const anna::DataBlock & value)
}
dbms::ShortBlock& dbms::ShortBlock::operator = (const anna::DataBlock & value)
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(value.getSize() > Data::getMaxSize()) {
throw RuntimeException(
functions::asString(
if(value.getSize() > Data::getMaxSize()) {
throw RuntimeException(
functions::asString(
@@
-42,7
+42,7
@@
throw(RuntimeException) {
}
std::string dbms::ShortBlock::asString() const
}
std::string dbms::ShortBlock::asString() const
-
throw()
{
+{
std::string result("dbms::ShortBlock { ");
result += dbms::Data::asString();
result += " | Value: ";
std::string result("dbms::ShortBlock { ");
result += dbms::Data::asString();
result += " | Value: ";