aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2015-04-03 17:09:41 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2015-04-03 17:09:41 +0200
commit0b3909463b93f550040914321df1d7d71fa00703 (patch)
tree5993d0136af89cab5303386b8f0ac303a2eee7d0 /src/menu/background.hpp
parentad8586d69bdac1a1fa19907f830518875e4acd91 (diff)
downloadusdx-0b3909463b93f550040914321df1d7d71fa00703.tar.gz
usdx-0b3909463b93f550040914321df1d7d71fa00703.tar.xz
usdx-0b3909463b93f550040914321df1d7d71fa00703.zip
Replace boost::noncopyable with c++11 delete syntax.
Diffstat (limited to 'src/menu/background.hpp')
-rw-r--r--src/menu/background.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/menu/background.hpp b/src/menu/background.hpp
index 0a7bee49..e48027f1 100644
--- a/src/menu/background.hpp
+++ b/src/menu/background.hpp
@@ -26,7 +26,6 @@
#define BACKGROUND_HPP
#include "drawable.hpp"
-#include <boost/noncopyable.hpp>
namespace usdx
{
@@ -36,7 +35,7 @@ namespace usdx
* Abstract class for backgrounds. Subclasses of this class, implement
* different ways to draw the background for any DrawableControl.
*/
- class Background : public Drawable, public boost::noncopyable
+ class Background : public Drawable
{
private:
const DrawableControl& parent;
@@ -45,6 +44,10 @@ namespace usdx
Background(const DrawableControl&);
virtual ~Background();
+ /* no copies */
+ Background(const Background&) = delete;
+ Background& operator=(const Background&) = delete;
+
/**
* Returns the parent DrawableControl, this background is attached
* to. Could be used for example to determine the size of the parent