From: Russ Combs Date: Thu, 15 Dec 2016 03:35:02 +0000 (-0500) Subject: revert s2l const change to fix borked clang build X-Git-Tag: 3.0.0-233~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f7e3aa1b92c8f816e6f6833e46d95f4e7d048d4;p=thirdparty%2Fsnort3.git revert s2l const change to fix borked clang build --- diff --git a/tools/snort2lua/data/data_types/dt_comment.h b/tools/snort2lua/data/data_types/dt_comment.h index ac3483859..aca25140d 100644 --- a/tools/snort2lua/data/data_types/dt_comment.h +++ b/tools/snort2lua/data/data_types/dt_comment.h @@ -69,9 +69,9 @@ private: bool header; // true if a string was passed into constructor enum CommentType type; static const std::size_t max_line_length = 80; - static constexpr const char* comment_line = "--"; - static constexpr const char* start_multi_com = "--[["; - static constexpr const char* end_multi_com = "--]]"; + const std::string comment_line = "--"; + const std::string start_multi_com = "--[["; + const std::string end_multi_com = "--]]"; }; #endif