projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8d75d
)
[ATL]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 24 Oct 2015 13:26:44 +0000
(13:26 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 24 Oct 2015 13:26:44 +0000
(13:26 +0000)
- Add CComBSTR::operator BSTR. Mark by Mark Jansen.
CORE-10394 #resolve
svn path=/trunk/; revision=69676
reactos/lib/atl/atlbase.h
patch
|
blob
|
history
diff --git
a/reactos/lib/atl/atlbase.h
b/reactos/lib/atl/atlbase.h
index
bc9e9e1
..
26d59b3
100644
(file)
--- a/
reactos/lib/atl/atlbase.h
+++ b/
reactos/lib/atl/atlbase.h
@@
-941,6
+941,11
@@
public:
::SysFreeString(m_str);
m_str = NULL;
}
+
+ operator BSTR () const
+ {
+ return m_str;
+ }
};
class CComVariant : public tagVARIANT