Removed rangechecked_cast was not working as I hoped.

This commit is contained in:
eelke 2019-11-30 16:11:12 +01:00
parent 404d4c856a
commit 817a371220
6 changed files with 4 additions and 58 deletions

View file

@ -1,6 +1,5 @@
#include "ExplainTreeModelItem.h"
#include "json/json.h"
#include "rangechecked_cast.h"
#include <limits>
namespace {
@ -111,7 +110,7 @@ ExplainTreeModelItemPtr ExplainTreeModelItem::child(int row)
int ExplainTreeModelItem::childCount() const
{
return rangechecked_cast<int>(m_childItems.size());
return static_cast<int>(m_childItems.size());
}
//int ExplainTreeModelItem::columnCount() const