Skip to content

Commit aacb989

Browse files
generatedunixname537391475639613facebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/react-native/ReactCommon/react/utils/TemplateStringLiteral.h (#53836)
Summary: Pull Request resolved: #53836 Reviewed By: rshest Differential Revision: D82428779 fbshipit-source-id: 2716784a85c4885fe438348666b4772c2da3c400
1 parent 460394e commit aacb989

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-native/ReactCommon/react/utils/TemplateStringLiteral.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ namespace facebook::react {
1919
*/
2020
template <size_t N>
2121
struct TemplateStringLiteral {
22-
/* implicit */ constexpr TemplateStringLiteral(const char (&str)[N]) {
22+
/* implicit */ constexpr TemplateStringLiteral(
23+
const char (&str)[N]) { // NOLINT(modernize-avoid-c-arrays)
2324
std::copy_n(str, N, value.data());
2425
}
2526

0 commit comments

Comments
 (0)