Skip to content

Commit

Permalink
use c++11 =delete in connect_engine
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Sep 8, 2016
1 parent f37d5d9 commit 00d04b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/game_initialization/connect_engine.hpp
Expand Up @@ -101,8 +101,8 @@ class connect_engine
bool force_lock_settings() const { return force_lock_settings_; }

private:
connect_engine(const connect_engine&);
void operator=(const connect_engine&);
connect_engine(const connect_engine&) = delete;
void operator=(const connect_engine&) = delete;

void send_level_data() const;

Expand Down Expand Up @@ -223,8 +223,8 @@ class side_engine
std::string get_color(int index = -1) const;
int num_colors() const;
private:
side_engine(const side_engine& engine);
void operator=(const side_engine&);
side_engine(const side_engine& engine) = delete;
void operator=(const side_engine&) = delete;

void add_controller_option(ng::controller controller,
const std::string& name, const std::string& controller_value);
Expand Down

0 comments on commit 00d04b0

Please sign in to comment.