diff --git a/game/bag.cpp b/game/bag.cpp index bfb6127..a54218d 100644 --- a/game/bag.cpp +++ b/game/bag.cpp @@ -21,8 +21,6 @@ #include -#include -#include #include // For rand() #include @@ -150,14 +148,3 @@ Bag & Bag::operator=(const Bag &iOther) } -void Bag::dumpAll() const -{ - std::pair p; - BOOST_FOREACH(p, m_tilesMap) - { - if (p.second) - fprintf(stderr, "%lc[%i] ", p.first.toChar(), p.second); - } - fprintf(stderr, "\n"); -} - diff --git a/game/bag.h b/game/bag.h index b6ad47f..e2d1367 100644 --- a/game/bag.h +++ b/game/bag.h @@ -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;