Skip to content

Commit

Permalink
GRAPHICS: Mark GLContainer as noncopyable
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Oct 23, 2016
1 parent 31cac9c commit ba9dffa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graphics/glcontainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@
#ifndef GRAPHICS_GLCONTAINER_H
#define GRAPHICS_GLCONTAINER_H

#include <boost/noncopyable.hpp>

#include "src/graphics/queueable.h"

namespace Graphics {

/** A container of OpenGL elements. */
class GLContainer : public Queueable {
class GLContainer : boost::noncopyable, public Queueable {
public:
GLContainer();
~GLContainer();
Expand Down

0 comments on commit ba9dffa

Please sign in to comment.