Index: src/IceClFlags.cpp |
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp |
index 257c6f13b90c33070e7c3a163f63986c9dcd0129..4982cbf4e9912925d7426772ceb1a36bf4c9a993 100644 |
--- a/src/IceClFlags.cpp |
+++ b/src/IceClFlags.cpp |
@@ -163,6 +163,10 @@ template <> struct ToSetterParam<cl::list<Ice::VerboseItem>> { |
using ReturnType = Ice::VerboseMask; |
}; |
+template <> struct ToSetterParam<cl::list<std::string>> { |
+ using ReturnType = std::vector<std::string>; |
+}; |
+ |
template <typename T> |
typename ToSetterParam<T>::ReturnType toSetterParam(const T &Param) { |
return Param; |
@@ -181,6 +185,12 @@ toSetterParam(const cl::list<Ice::VerboseItem> &Param) { |
return VMask; |
} |
+template <> |
+ToSetterParam<cl::list<std::string>>::ReturnType |
+toSetterParam(const cl::list<std::string> &Param) { |
+ return *&Param; |
+} |
+ |
} // end of anonymous namespace |
void ClFlags::getParsedClFlags(ClFlags &OutFlags) { |