Removed rangechecked_cast was not working as I hoped.
This commit is contained in:
parent
404d4c856a
commit
817a371220
6 changed files with 4 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue