Index: storage/common/data_element.h |
diff --git a/storage/common/data_element.h b/storage/common/data_element.h |
index 276181b6ec97d9a92a5b1ce4c43c05c3a8831faa..502a0a5b99edc555e0a946cb0e31509a25acf740 100644 |
--- a/storage/common/data_element.h |
+++ b/storage/common/data_element.h |
@@ -26,6 +26,9 @@ namespace storage { |
// bytes, file or blob data. |
class STORAGE_COMMON_EXPORT DataElement { |
public: |
+ // Not using std::numeric_limits<T>::max() because of non-C++11 builds. |
+ static const uint64_t kUnknownSize = UINT64_MAX; |
kinuko
2016/07/17 16:15:47
Which build requires this?
dmurph
2016/07/19 02:26:28
Ah I think we're good now.
|
+ |
enum Type { |
TYPE_UNKNOWN = -1, |
TYPE_BYTES, |