mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 02:38:04 +00:00
Unbreak the build.
llvm-svn: 229329
This commit is contained in:
parent
a1e23d950b
commit
583089c6c6
@ -329,7 +329,7 @@ public:
|
||||
/// The pointer returned from this method is valid until the cleanup
|
||||
/// stack is modified.
|
||||
template <class T, class... As>
|
||||
T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As A) {
|
||||
T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As... A) {
|
||||
void *Buffer = pushCleanup(Kind, sizeof(T) + T::getExtraSize(N));
|
||||
return new (Buffer) T(N, A...);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user