projects
/
framework
/
web
/
wrt-commons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen 2.4 release
[framework/web/wrt-commons.git]
/
modules
/
core
/
include
/
dpl
/
scope_guard.h
diff --git
a/modules_mobile/core/include/dpl/scope_guard.h
b/modules/core/include/dpl/scope_guard.h
similarity index 97%
rename from
modules_mobile/core/include/dpl/scope_guard.h
rename to
modules/core/include/dpl/scope_guard.h
index
21a7b0c
..
3791d63
100644
(file)
--- a/
modules_mobile/core/include/dpl/scope_guard.h
+++ b/
modules/core/include/dpl/scope_guard.h
@@
-71,9
+71,11
@@
class ScopeGuard
private:
// FIXME change to noexcept when available
- void Execute()
throw()
+ void Execute()
{
- m_function();
+ try {
+ m_function();
+ } catch(...) {}
}
FunctionType m_function;