Skip to content

Commit

Permalink
Disabled copy constructor and assignment operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Jan 14, 2016
1 parent 34d31c9 commit 925f847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ namespace etl

///< The set of flags that indicate which items are free in the pool.
bitset<SIZE> in_use;

// Should not be copied.
pool(const pool&);
pool& operator =(const pool&);
};
}

Expand Down

0 comments on commit 925f847

Please sign in to comment.