Skip to content

Commit 5e10b90

Browse files
Fix CQS signal modernize-use-emplace in fbcode/libspdl/core
Differential Revision: D110153213 Pull Request resolved: #1577
1 parent c6c1a51 commit 5e10b90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libspdl/core/detail/ffmpeg/encoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ std::vector<std::string> to_str(const AVChannelLayout* p) {
355355
if (size > BUF_SIZE) {
356356
size = BUF_SIZE;
357357
}
358-
ret.emplace_back(std::string{buf, static_cast<size_t>(size)});
358+
ret.emplace_back(buf, static_cast<size_t>(size));
359359
p++;
360360
}
361361
#undef BUF_SIZE

0 commit comments

Comments
 (0)