#include <config.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
#include "GXpmBtnTbl.h"
#include <gtkmm.h>
-#include <cassert>
+#include <boost/assert.hpp>
void GXpmBtnTbl::GXpmBtn::setXpm(XpmData xpm)
void GXpmBtnTbl::construct()
{
- assert(rows_);
- assert(cols_);
+ BOOST_ASSERT(rows_);
+ BOOST_ASSERT(cols_);
btns_.reset(new GXpmBtn[rows_ * cols_]);
- assert(btns_.get());
+ BOOST_ASSERT(btns_.get());
for (int row = 0; row < rows_; ++row)
for (int col = 0; col < cols_; ++col) {