Skip to content

Commit 9f1a30b

Browse files
committed
remove code
1 parent 97581d2 commit 9f1a30b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

util.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,3 @@ std::wstring toUnicode(const char* multiByteStr) {
130130
throw std::system_error(::GetLastError(), std::system_category());
131131
return wideCharStr;
132132
}
133-
134-
#ifdef __clang__
135-
void operator delete[](void* p) noexcept {
136-
free(p);
137-
}
138-
139-
void operator delete(void* p) noexcept {
140-
std::free(p);
141-
}
142-
143-
void* operator new(size_t count) {
144-
return std::malloc(count);
145-
}
146-
147-
void* operator new[](size_t count) {
148-
return std::malloc(count);
149-
}
150-
#endif

0 commit comments

Comments
 (0)