summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-16 10:09:02 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-16 10:09:02 +0000
commitcfdd36083f84d7b553fec99b223fb765b17e2942 (patch)
tree8b09386ab47b551663c80bdae40a4012984450ac /libstdc++-v3/include
parent01e60dc2caaf9d2a829cf3ae8bfabe15db85cbe5 (diff)
downloadgcc-cfdd36083f84d7b553fec99b223fb765b17e2942.tar.gz
2009-05-13 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/mutex: Move std::lock_error to ... * src/compatibility.cc: Here. * src/mutex.cc: Likewise. * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: Add checks for lock types and remove std::lock_error check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/std/mutex12
1 files changed, 0 insertions, 12 deletions
diff --git a/libstdc++-v3/include/std/mutex b/libstdc++-v3/include/std/mutex
index c090608cb53..f313ccb9b40 100644
--- a/libstdc++-v3/include/std/mutex
+++ b/libstdc++-v3/include/std/mutex
@@ -386,18 +386,6 @@ namespace std
extern const try_to_lock_t try_to_lock;
extern const adopt_lock_t adopt_lock;
- /**
- * @brief Thrown to indicate errors with lock operations.
- *
- * @ingroup exceptions
- */
- class lock_error : public exception
- {
- public:
- virtual const char*
- _GLIBCXX_CONST what() const throw();
- };
-
/// @brief Scoped lock idiom.
// Acquire the mutex here with a constructor call, then release with
// the destructor call in accordance with RAII style.