projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more utilities for ADML-HTTP image
[anna.git]
/
source
/
dbms
/
String.cpp
diff --git
a/source/dbms/String.cpp
b/source/dbms/String.cpp
index
2e7e6fb
..
dc3af03
100644
(file)
--- a/
source/dbms/String.cpp
+++ b/
source/dbms/String.cpp
@@
-12,7
+12,7
@@
using namespace anna;
using namespace anna::dbms;
String& String::operator = (const String & other)
using namespace anna::dbms;
String& String::operator = (const String & other)
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(this == &other)
return *this;
if(this == &other)
return *this;
@@
-26,7
+26,7
@@
throw(RuntimeException) {
}
String& String::operator = (const char * str)
}
String& String::operator = (const char * str)
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(a_value != str) {
if(anna_strlen(str) > Data::getMaxSize())
throw RuntimeException(
if(a_value != str) {
if(anna_strlen(str) > Data::getMaxSize())
throw RuntimeException(
@@
-42,7
+42,7
@@
throw(RuntimeException) {
}
char* String::strip(char *str)
}
char* String::strip(char *str)
-
throw()
{
+{
int len;
if(str == NULL || (len = anna_strlen(str)) == 0)
int len;
if(str == NULL || (len = anna_strlen(str)) == 0)
@@
-59,7
+59,7
@@
throw() {
}
std::string dbms::String::asString() const
}
std::string dbms::String::asString() const
-
throw()
{
+{
std::string result("dbms::String { ");
result += dbms::Data::asString();
result += " | Value: ";
std::string result("dbms::String { ");
result += dbms::Data::asString();
result += " | Value: ";