summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-12 03:36:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-12 03:39:04 +0300
commita84d3ab5f4335ce610a29503e1709bc42faa0bc1 (patch)
tree17888b14d39750ac3c6546c536c48a804c391e2c /src/resources/dye/dyepalette.h
parent7ba370f2311ab2e36aa00408e5cfae4c25aa0bca (diff)
downloadmv-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.gz
mv-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.bz2
mv-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.xz
mv-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.zip
Add unit tests for dyepalette.
Diffstat (limited to 'src/resources/dye/dyepalette.h')
-rw-r--r--src/resources/dye/dyepalette.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/dye/dyepalette.h b/src/resources/dye/dyepalette.h
index 7c607bb8f..d27fba095 100644
--- a/src/resources/dye/dyepalette.h
+++ b/src/resources/dye/dyepalette.h
@@ -85,8 +85,9 @@ class DyePalette final
static unsigned int hexDecode(const signed char c)
A_CONST A_WARN_UNUSED;
-
+#ifndef UNITTESTS
private:
+#endif
std::vector<DyeColor> mColors;
};