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]
/
example
/
core
/
recycler
/
main.cpp
diff --git
a/example/core/recycler/main.cpp
b/example/core/recycler/main.cpp
index
0aeb7bf
..
bba9253
100644
(file)
--- a/
example/core/recycler/main.cpp
+++ b/
example/core/recycler/main.cpp
@@
-29,7
+29,7
@@
void print_const (const Recycler<int>& numbers)
}
void debug (const char* str, Recycler<int>::iterator ii)
}
void debug (const char* str, Recycler<int>::iterator ii)
- throw ()
+
{
int* p = Recycler<int>::data (ii);
{
int* p = Recycler<int>::data (ii);
@@
-41,7
+41,7
@@
void debug (const char* str, Recycler<int>::iterator ii)
}
void run (const bool randomAccess, const int freeCounter)
}
void run (const bool randomAccess, const int freeCounter)
-
throw (RuntimeException
)
+
noexcept(false
)
{
Recycler <int> numbers (randomAccess);
int* p;
{
Recycler <int> numbers (randomAccess);
int* p;
@@
-92,7
+92,7
@@
void run (const bool randomAccess, const int freeCounter)
}
void recycling (const bool randomAccess, const int freeCounter)
}
void recycling (const bool randomAccess, const int freeCounter)
-
throw (RuntimeException
)
+
noexcept(false
)
{
Recycler <int> numbers (randomAccess);
int** pp;
{
Recycler <int> numbers (randomAccess);
int** pp;
@@
-118,7
+118,7
@@
void recycling (const bool randomAccess, const int freeCounter)
}
void reuse (const int freeCounter)
}
void reuse (const int freeCounter)
-
throw (RuntimeException
)
+
noexcept(false
)
{
int** pp;
int* p;
{
int** pp;
int* p;