Skip to content

Commit

Permalink
Update Svc_Conf_Lexer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillemsen authored Sep 2, 2023
1 parent ed54a76 commit e6e9ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ACE/ace/Svc_Conf_Lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
# define ACE_TEMPORARY_STRING(X,SIZE) \
char* X = 0; \
char X ## buf[ACE_YY_BUF_SIZE]; \
std::unique_ptr<char> X ## bufp (0); \
std::unique_ptr<char> X ## bufp (nullptr); \
if (SIZE > ACE_YY_BUF_SIZE) { \
X ## bufp.reset (new char[SIZE]); \
X = X ## bufp.get (); \
Expand Down

0 comments on commit e6e9ef4

Please sign in to comment.