Skip to content

Commit 42e3cd3

Browse files
generatedunixname915440834509264meta-codesync[bot]
authored andcommitted
Fix CQS signal performance-faster-string-find in xplat/thrift/compiler
Differential Revision: D110161559 fbshipit-source-id: 81b3355cf29aed59b5ca9b2eddbc81d0a2c831ee
1 parent 3defb71 commit 42e3cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎thrift/compiler/formatter_main.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bool add_filename_arg(
5151
std::string_view arg,
5252
std::string_view program,
5353
int& exit_code) {
54-
if (arg.rfind("@", 0) != 0) {
54+
if (arg.rfind('@', 0) != 0) {
5555
opts.paths.emplace_back(arg);
5656
return true;
5757
}

0 commit comments

Comments
 (0)