summaryrefslogtreecommitdiff
path: root/indra/newview/llterrainpaintmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llterrainpaintmap.h')
-rw-r--r--indra/newview/llterrainpaintmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llterrainpaintmap.h b/indra/newview/llterrainpaintmap.h
index cffdad80a2..6c321dc9c6 100644
--- a/indra/newview/llterrainpaintmap.h
+++ b/indra/newview/llterrainpaintmap.h
@@ -26,7 +26,7 @@
#pragma once
-#include "llviewerprecompiledheaders.h"
+#include <memory>
class LLTexture;
class LLViewerRegion;
@@ -90,8 +90,8 @@ struct LLTerrainPaint
U16 mWidthY;
U8 mBitDepth;
U8 mComponents;
- const static U8 RGB = 3;
- const static U8 RGBA = 4;
+ static constexpr U8 RGB = 3;
+ static constexpr U8 RGBA = 4;
std::vector<U8> mData;
// Asserts that this paint's start/width fit within the bounds of the