fix(util/thread): warning messages
This commit is contained in:
parent
06d2ff021b
commit
8d4312d9d8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue