Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
This commit is contained in:
parent
f3f875ee80
commit
128fc4f540
19 changed files with 85 additions and 85 deletions
|
@ -17,10 +17,10 @@ void test_ansi_parsing(Panel &panel) {
|
|||
ANSIParser ansi(default_fg, default_bg);
|
||||
|
||||
bool good = ansi.parse(panel.to_string(),
|
||||
[&](sf::Color color, sf::Color bgcolor){
|
||||
[&](sf::Color color[[maybe_unused]], sf::Color bgcolor[[maybe_unused]]){
|
||||
// ignore color
|
||||
},
|
||||
[&](wchar_t ch) {
|
||||
[&](wchar_t ch[[maybe_unused]]) {
|
||||
// ignore char
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue