소스 검색

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]"            },