diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 15:50:10 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 15:50:10 +0200 |
| commit | 683d7946798634c35df165bf40a97d78f947751c (patch) | |
| tree | 6dd80b60ed63ec92d7b6e7f291079493f64f219b /src/Model/Game.cpp | |
| parent | 048f1e17b752d2af53db82c1861002283fc300fa (diff) | |
Add template support to Cell class
Diffstat (limited to 'src/Model/Game.cpp')
| -rw-r--r-- | src/Model/Game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/Game.cpp b/src/Model/Game.cpp index 069a481..c2252ff 100644 --- a/src/Model/Game.cpp +++ b/src/Model/Game.cpp @@ -45,7 +45,7 @@ void Game::pop() cellChosen = true; } - m_grid->setCell(i, j, new Cell("2")); + m_grid->setCell(i, j, new Cell<StringElement>("2")); } bool Game::isOver() |
