Skip to content

Commit 0e429b3

Browse files
generatedunixname89002005287564meta-codesync[bot]
authored andcommitted
Fix CQS signal modernize-type-traits in fbcode/thrift/lib
Reviewed By: iahs Differential Revision: D90967701 fbshipit-source-id: c773b90567c17b75c8e085e85305bfa757e71f17
1 parent a6e86a5 commit 0e429b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third-party/thrift/src/thrift/lib/py/protocol/fastproto.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ static PyObject* decode_val(
927927
reader->readMapBegin(ktype, vtype, len);
928928
if (ktype != parsedargs.ktype || vtype != parsedargs.vtype) {
929929
if (len == 0 &&
930-
std::is_same<Reader, CompactProtocolReaderWithRefill>::value) {
930+
std::is_same_v<Reader, CompactProtocolReaderWithRefill>) {
931931
reader->readMapEnd();
932932
return PyDict_New();
933933
}

0 commit comments

Comments
 (0)