From bc8473c9f19d28ef0301e7f0e143c9eaf504e937 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 3 Jun 2017 17:06:26 +0200 Subject: [PATCH] Make title string a char* literal --- cpp/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/main.cpp b/cpp/main.cpp index 93d0752e..7439315a 100644 --- a/cpp/main.cpp +++ b/cpp/main.cpp @@ -19,8 +19,7 @@ #include "../src/graph_penalized_linear_model_cv_data.hpp" #include "../src/edgenet_gaussian_model_selection.hpp" -static std::string netReg = - "\nnetReg - a network-regularized generalized regression model"; +static const char* netReg = "\nnetReg - a network-regularized generalized regression model"; struct data_set {