summaryrefslogtreecommitdiffstats
path: root/Primitives/interface
diff options
context:
space:
mode:
Diffstat (limited to 'Primitives/interface')
-rw-r--r--Primitives/interface/FormatString.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Primitives/interface/FormatString.h b/Primitives/interface/FormatString.h
index 993abbaf..a3e046d9 100644
--- a/Primitives/interface/FormatString.h
+++ b/Primitives/interface/FormatString.h
@@ -57,9 +57,14 @@ namespace Diligent
template<typename Type>
struct MemorySizeFormatter
{
- Type size = 0;
+ MemorySizeFormatter(Type _size, size_t _precision, Type _ref_size) :
+ size (_size),
+ precision(_precision),
+ ref_size (_ref_size)
+ {}
+ Type size = 0;
size_t precision = 0;
- Type ref_size = 0;
+ Type ref_size = 0;
};
template<typename Type>