瀏覽代碼

AUTHORS.h: Global variables should be const.

Non-const global variables should not be used
Alexander Wilms 2 年之前
父節點
當前提交
e4aaeef5da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AUTHORS.h

+ 1 - 1
AUTHORS.h

@@ -10,7 +10,7 @@
 #pragma once
 
 //VCMI PROJECT CODE CONTRIBUTORS:
-std::vector<std::vector<std::string>> contributors = {
+const std::vector<std::vector<std::string>> contributors = {
 //   Task          Name                    Aka                      E-Mail
    { "Idea",       "Michał Urbańczyk",     "Tow",                   "[email protected]"             },
    { "Idea",       "Mateusz B.",           "Tow dragon",            "[email protected]"            },