Skip to content

Commit

Permalink
ENGINES: Mark Console as noncopyable
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Oct 23, 2016
1 parent 4002b59 commit 5021e6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engines/aurora/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <list>
#include <map>

#include <boost/noncopyable.hpp>
#include <boost/function.hpp>

#include "src/common/types.h"
Expand Down Expand Up @@ -185,7 +186,7 @@ class ConsoleWindow : public Graphics::GUIElement, public Events::Notifyable {
static size_t findWordEnd (const Common::UString &line, size_t pos);
};

class Console {
class Console : boost::noncopyable {
public:
Console(Engine &engine, const Common::UString &font, int fontHeight = 0);
virtual ~Console();
Expand Down

0 comments on commit 5021e6e

Please sign in to comment.