We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40187d commit eb8b9ceCopy full SHA for eb8b9ce
libs/openFrameworks/types/ofColor.h
@@ -45,7 +45,7 @@ class ofColor_{
45
/// \param list 2 items = The gray value + alpha
46
/// \param list 3 items = The RGB values (full alpha)
47
/// \param list 4 items = The RGB values + alpha
48
- template<typename InitType>
+ template<class InitType>
49
ofColor_(std::vector<InitType> list): ofColor_() {
50
if (list.size() == 1) set(list[0]);
51
if (list.size() == 2) set(list[0], list[1]);
0 commit comments