fix(util/thread): warning messages

This commit is contained in:
Leonardo de Moura 2014-06-06 17:50:46 -07:00
parent 06d2ff021b
commit 8d4312d9d8

View file

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2013 Microsoft Corporation. All rights reserved. Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE. Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura Author: Leonardo de Moura
@ -136,10 +136,12 @@ public:
template<typename T> class lock_guard { template<typename T> class lock_guard {
public: public:
lock_guard(T const &) {} lock_guard(T const &) {}
~lock_guard() {}
}; };
template<typename T> class unique_lock { template<typename T> class unique_lock {
public: public:
unique_lock(T const &) {} unique_lock(T const &) {}
~unique_lock() {}
}; };
} }
#endif #endif