Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
1ecb0c81
Commit
1ecb0c81
authored
Mar 02, 2020
by
Cédric Traizet
Browse files
WRG: use delete on copy constructor instead of deriving from boost noncopyable
parent
0c6aafdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Adapters/GdalAdapters/include/otbOGRDriversInit.h
View file @
1ecb0c81
...
...
@@ -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
;
//@}
};
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment