Skip to content

Commit

Permalink
Would help to add the method
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffnn committed Dec 6, 2023
1 parent 545805c commit ca11550
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/dxc/WinAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,11 @@ class CComBSTR {
m_str = NULL;
return s;
}

void Empty() throw() {
SysFreeString(m_str);
m_str = NULL;
}
};

//===--------- Convert argv to wchar ----------------===//
Expand Down

0 comments on commit ca11550

Please sign in to comment.