aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-06-11 17:31:09 -0700
committerJacek Antonelli2010-06-19 02:43:38 -0500
commitd3a79b4224432392b81229cde6d75324334d5e21 (patch)
treeca45208eeb28aa66039ec0fbc2233545206a2b9d
parentFixed mini-map radar showing when minimized in mouselook (diff)
downloadmeta-impy-d3a79b4224432392b81229cde6d75324334d5e21.zip
meta-impy-d3a79b4224432392b81229cde6d75324334d5e21.tar.gz
meta-impy-d3a79b4224432392b81229cde6d75324334d5e21.tar.bz2
meta-impy-d3a79b4224432392b81229cde6d75324334d5e21.tar.xz
Tidied up a little const correctness in llimage
-rw-r--r--linden/indra/llimage/llimage.cpp2
-rw-r--r--linden/indra/llimage/llimage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llimage/llimage.cpp b/linden/indra/llimage/llimage.cpp
index b59c51b..0baa005 100644
--- a/linden/indra/llimage/llimage.cpp
+++ b/linden/indra/llimage/llimage.cpp
@@ -55,7 +55,7 @@ std::string LLImage::sLastErrorMessage;
55LLMutex* LLImage::sMutex = NULL; 55LLMutex* LLImage::sMutex = NULL;
56 56
57//static 57//static
58void LLImage::initClass(const bool useDSO) 58void LLImage::initClass(const bool& useDSO)
59{ 59{
60 sMutex = new LLMutex(NULL); 60 sMutex = new LLMutex(NULL);
61 if (useDSO) 61 if (useDSO)
diff --git a/linden/indra/llimage/llimage.h b/linden/indra/llimage/llimage.h
index d01ae72..2bc62fb 100644
--- a/linden/indra/llimage/llimage.h
+++ b/linden/indra/llimage/llimage.h
@@ -82,7 +82,7 @@ typedef enum e_image_codec
82class LLImage 82class LLImage
83{ 83{
84public: 84public:
85 static void initClass(const bool useDSO); 85 static void initClass(const bool& useDSO);
86 static void cleanupClass(); 86 static void cleanupClass();
87 87
88 static const std::string& getLastError(); 88 static const std::string& getLastError();