From f240b539a4e1ce2234b31aed993539ab140d53e3 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 19 Dec 2018 00:23:34 +0300 Subject: [PATCH] Fix CE. GitOrigin-RevId: c4f390749126e85d36ae63249c0e8b38763d9774 --- tdutils/td/utils/Slice-decl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tdutils/td/utils/Slice-decl.h b/tdutils/td/utils/Slice-decl.h index 6bc7d4e8..38ddb041 100644 --- a/tdutils/td/utils/Slice-decl.h +++ b/tdutils/td/utils/Slice-decl.h @@ -189,8 +189,7 @@ class CSlice : public Slice { template constexpr CSlice &operator=(const char (&a)[N]) { - s_ = a; - len_ = N - 1; + this->Slice::operator=(a); return *this; }