diff options
Diffstat (limited to 'ml/dlib/dlib/smart_pointers/scoped_ptr.h')
-rw-r--r-- | ml/dlib/dlib/smart_pointers/scoped_ptr.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ml/dlib/dlib/smart_pointers/scoped_ptr.h b/ml/dlib/dlib/smart_pointers/scoped_ptr.h deleted file mode 100644 index dd890f330..000000000 --- a/ml/dlib/dlib/smart_pointers/scoped_ptr.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef DLIB_SCOPED_PTr_H_ -#define DLIB_SCOPED_PTr_H_ - -#include <memory> - -namespace dlib { - // Template alias for compatibility with clients using old dlib::scoped_ptr - // Old scoped_ptr implementation is removed completely - // This alias may fail in some reference deduction cases - - template <class T, class Deleter = std::default_delete<T> > - using scoped_ptr = std::unique_ptr<T, Deleter>; - -} - -#endif |