projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b0d38
)
mutex: define empty destructor
author
Brian Norris
<banorris@uci.edu>
Fri, 12 Oct 2012 17:21:41 +0000
(10:21 -0700)
committer
Brian Norris
<banorris@uci.edu>
Fri, 12 Oct 2012 17:23:44 +0000
(10:23 -0700)
I don't think we really need the destructor. It causes undefined
reference compilation errors though:
... undefined reference to `std::mutex::~mutex()'
include/mutex
patch
|
blob
|
history
diff --git
a/include/mutex
b/include/mutex
index 31fd7eb1f19ae83ae750a0bbf23f629a3b7d96e3..482af590068c2f1ae9b4b24637a83c8a9b098a92 100644
(file)
--- a/
include/mutex
+++ b/
include/mutex
@@
-18,7
+18,7
@@
namespace std {
class mutex {
public:
mutex();
- ~mutex()
;
+ ~mutex()
{}
void lock();
bool try_lock();
void unlock();