Codecheck: Interpretes comment as assignment
Bug #1766309 reported by
Notabilis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Low
|
Unassigned |
Bug Description
For some reason, this line:
static const std::string INTERNET_GAME_SETUP = "SETUP"; // Map selection, ...
(Was in merge request as src/network/
Makes codecheck complain:
const std::string must not be passed by value. Pass by reference!
Removing the comma fixes the issue.
To post a comment you must log in.
Migrated to https:/ /github. com/widelands/ widelands/ issues/ 1705