mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #659 Use constexpr with isPinned method of data cache traits.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user