refs #624 Some more occurrences of constexpr.

This commit is contained in:
Mathew Sutcliffe
2016-03-20 21:54:04 +00:00
parent 6f1cf8e3d7
commit a1861c69f0
10 changed files with 16 additions and 16 deletions

View File

@@ -96,10 +96,10 @@ namespace BlackGui
Q_DECLARE_FLAGS(Menu, MenuFlag)
//! When (row count) to use asynchronous updates
static const int ASyncRowsCountThreshold = 50;
static constexpr int ASyncRowsCountThreshold = 50;
//! When to use pre-sizing with random elements
static const int ResizeSubsetThreshold = 50;
static constexpr int ResizeSubsetThreshold = 50;
//! Clear data
virtual void clear() = 0;