Bag: remove a useless method

This commit is contained in:
Olivier Teulière 2013-01-17 17:17:15 +01:00
parent 6dc05081b0
commit 3caacd9c84
2 changed files with 0 additions and 16 deletions

View file

@ -21,8 +21,6 @@
#include <boost/foreach.hpp>
#include <string>
#include <cstdio>
#include <cstdlib> // For rand()
#include <dic.h>
@ -150,14 +148,3 @@ Bag & Bag::operator=(const Bag &iOther)
}
void Bag::dumpAll() const
{
std::pair<Tile, int> p;
BOOST_FOREACH(p, m_tilesMap)
{
if (p.second)
fprintf(stderr, "%lc[%i] ", p.first.toChar(), p.second);
}
fprintf(stderr, "\n");
}

View file

@ -80,9 +80,6 @@ public:
/// Convenience getter on the dictionary
const Dictionary & getDic() const { return m_dic; }
/// Print on stderr all the letters of the bag (for debugging purposes)
void dumpAll() const;
private:
/// Dictionary
const Dictionary &m_dic;