]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
revert s2l const change to fix borked clang build
authorRuss Combs <rucombs@cisco.com>
Thu, 15 Dec 2016 03:35:02 +0000 (22:35 -0500)
committerRuss Combs <rucombs@cisco.com>
Thu, 15 Dec 2016 03:35:02 +0000 (22:35 -0500)
tools/snort2lua/data/data_types/dt_comment.h

index ac348385989c046563dc98286d2afc03309f5e66..aca25140d35cc10f13412d26ed0782a9eab89446 100644 (file)
@@ -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