Commit 5cc254b1 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2340] added comment about why we need to explicitly define empty dtor.

parent b05952bb
......@@ -49,6 +49,9 @@ template <typename T>
class scoped_lock {
public:
scoped_lock(T) {}
// We need to define this explicitly. Some versions of clang++ would
// complain about this otherwise. See Trac ticket #2340
~scoped_lock() {}
void lock() {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment