projects
/
platform
/
upstream
/
csr-framework.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't throw exception in dtor
[platform/upstream/csr-framework.git]
/
test
/
test-common.h
diff --git
a/test/test-common.h
b/test/test-common.h
index
7ea1c01
..
cdec29a
100644
(file)
--- a/
test/test-common.h
+++ b/
test/test-common.h
@@
-223,9
+223,7
@@
public:
~ScopedChDir()
{
- if (::chdir(cdbuf) == -1)
- throw std::system_error(errno, std::system_category(),
- std::string(cdbuf) + " chdir failed");
+ ::chdir(cdbuf);
}
private: