]> granicus.if.org Git - nethack/commitdiff
revert recent const addition in cppregex.cpp
authornhmall <mjnh@persona.ca>
Tue, 16 Jun 2015 10:05:06 +0000 (06:05 -0400)
committernhmall <mjnh@persona.ca>
Tue, 16 Jun 2015 10:05:06 +0000 (06:05 -0400)
sys/share/cppregex.cpp

index 4fdd59b61884c0a3ff54ddb9f0e5d0453578c37c..840d7f9392c681ed63b9935789472b5c38db93cc 100644 (file)
@@ -10,7 +10,7 @@
 extern "C" {
   #include <hack.h>
 
-  const char regex_id[] = "cppregex";
+  char regex_id[] = "cppregex";
 
   struct nhregex {
     std::unique_ptr<std::regex> re;