mark NamedLockPattern as deprecated

just too hard to use (exception) safely
This commit is contained in:
Michael Davidsaver
2018-02-01 19:00:38 -08:00
parent 58f996fd98
commit f1defe4e9f
2 changed files with 14 additions and 24 deletions

View File

@@ -15,6 +15,8 @@
# undef epicsExportSharedSymbols
#endif
#include <compilerDependencies.h>
#include <pv/lock.h>
#include <pv/pvType.h>
#include <pv/sharedPtr.h>
@@ -35,7 +37,7 @@ namespace pvAccess {
* NamedLockPattern
*/
template <class Key, class Compare = std::less<Key> >
class NamedLockPattern
class EPICS_DEPRECATED NamedLockPattern
{
public:
/**