summaryrefslogtreecommitdiff
path: root/zen/com_util.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:28:01 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:28:01 +0200
commitfe9eb89ebc1b3c33cbac00a3fa095a14faef9113 (patch)
tree8a3bb620a9acb83fe0057061a86e8f2cb91a9fe1 /zen/com_util.h
parent5.21 (diff)
downloadFreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.gz
FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.bz2
FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.zip
5.22
Diffstat (limited to 'zen/com_util.h')
-rw-r--r--zen/com_util.h8
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
bgstack15