refs #659 Use constexpr with isPinned method of data cache traits.

This commit is contained in:
Mathew Sutcliffe
2016-05-26 19:57:22 +01:00
parent d0d100da5e
commit 4c08d1cc86
5 changed files with 5 additions and 5 deletions

View File

@@ -332,7 +332,7 @@ namespace BlackMisc
//! If true, then value will be synchronously loaded when CDataCache is constructed.
//! Good for small, important values; bad for large ones.
static bool isPinned() { return false; }
static constexpr bool isPinned() { return false; }
//! Deleted default constructor.
CDataTrait() = delete;