Commit 1ecb0c81 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: use delete on copy constructor instead of deriving from boost noncopyable

parent 0c6aafdc
......@@ -21,8 +21,6 @@
#ifndef otbOGRDriversInit_h
#define otbOGRDriversInit_h
#include <boost/noncopyable.hpp>
#include "OTBGdalAdaptersExport.h"
namespace otb
......@@ -45,7 +43,7 @@ namespace ogr
* VC++)
* - Non-copyable
*/
class OTBGdalAdapters_EXPORT Drivers : private boost::noncopyable
class OTBGdalAdapters_EXPORT Drivers
{
/** \name Singleton related functions */
//@{
......@@ -59,6 +57,11 @@ private:
Drivers();
/** Destructor. */
~Drivers() = default;
/** Non copyable class */
Drivers(const Drivers&) = delete;
Drivers& operator=(const Drivers&) = delete;
//@}
};
}
......
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