This commit is contained in:
Simon Rozman 2013-01-11 12:11:11 +00:00
parent d73a800beb
commit 59c392e4e0

View File

@ -533,7 +533,7 @@ template <class T, int ID> inline static HRESULT CMSITSCAOpList::Save(CAtlFile &
assert(p); assert(p);
HRESULT hr; HRESULT hr;
const T *pp = dynamic_cast<const T*>(p); const T *pp = dynamic_cast<const T*>(p);
assert(pp); if (!pp) return E_UNEXPECTED;
hr = f << (int)ID; hr = f << (int)ID;
if (FAILED(hr)) return hr; if (FAILED(hr)) return hr;