diff options
Diffstat (limited to 'zen/com_util.h')
-rw-r--r-- | zen/com_util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/com_util.h b/zen/com_util.h index 4f7cd0b8..5189b48e 100644 --- a/zen/com_util.h +++ b/zen/com_util.h @@ -15,7 +15,7 @@ namespace zen { //get an enumeration interface as a std::vector of bound(!) ComPtr(s) template <class T, class U> -std::vector<ComPtr<T> > convertEnum(const ComPtr<U>& enumObj); //enumObj: must have the "_NewEnum" property that supports the IEnumUnknown interface +std::vector<ComPtr<T>> convertEnum(const ComPtr<U>& enumObj); //enumObj: must have the "_NewEnum" property that supports the IEnumUnknown interface /* extract text from com object member function returning a single BSTR: HRESULT ComInterface::MemFun([out] BSTR *pbstr); @@ -68,9 +68,9 @@ private: //############################ inline implemenatation ################################## template <class T, class U> inline -std::vector<ComPtr<T> > convertEnum(const ComPtr<U>& enumObj) +std::vector<ComPtr<T>> convertEnum(const ComPtr<U>& enumObj) { - std::vector<ComPtr<T> > output; + std::vector<ComPtr<T>> output; if (enumObj) { @@ -118,4 +118,4 @@ std::wstring getText(ComPtr<T> comObj, MemFun memFun) } -#endif //COM_UTILITY_HEADER
\ No newline at end of file +#endif //COM_UTILITY_HEADER |