Skip to content

Commit 76bd06a

Browse files
authored
Update TStringBase.h: Fix the build
1 parent d204826 commit 76bd06a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/cppcore/Common/TStringBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ inline void TStringBase<T>::clear() {
127127

128128
template <class T>
129129
inline void TStringBase<T>::copyFrom(TStringBase<T> &base, const T *ptr, size_t size) {
130-
static_assert(std::is_trivially_copyable_v<T>, "T must be trivially copyable");
131130
if (ptr != nullptr) {
132131
T *targetPtr = base.mBuffer;
133132

0 commit comments

Comments
 (0)