diff --git a/src/terrain/translation.cpp b/src/terrain/translation.cpp index f03e7e4a9228..5a695f063fdb 100644 --- a/src/terrain/translation.cpp +++ b/src/terrain/translation.cpp @@ -88,8 +88,8 @@ namespace t_translation { * @return The terrain code found in the string if no * valid terrain is found VOID will be returned. */ - static terrain_code string_to_number_(utils::string_view, std::string& start_position, const ter_layer filler); - static terrain_code string_to_number_(utils::string_view, const ter_layer filler = NO_LAYER); + static terrain_code string_to_number_(utils::string_view str, std::string& start_position, const ter_layer filler); + static terrain_code string_to_number_(utils::string_view str, const ter_layer filler = NO_LAYER); /** * Converts a terrain number to a string diff --git a/src/terrain/translation.hpp b/src/terrain/translation.hpp index a70596c52216..d2b8cd7a54b2 100644 --- a/src/terrain/translation.hpp +++ b/src/terrain/translation.hpp @@ -182,7 +182,7 @@ namespace t_translation { * * @return A single terrain code */ - terrain_code read_terrain_code(utils::string_view, const ter_layer filler = NO_LAYER); + terrain_code read_terrain_code(utils::string_view str, const ter_layer filler = NO_LAYER); /** * Writes a single terrain code to a string. @@ -249,7 +249,7 @@ namespace t_translation { * @returns A 2D vector with the terrains found the vector data is stored * like result[x][y] where x the column number is and y the row number. */ - ter_map read_game_map(utils::string_view, starting_positions& positions, coordinate border_offset = coordinate{ 0, 0 }); + ter_map read_game_map(utils::string_view str, starting_positions& positions, coordinate border_offset = coordinate{ 0, 0 }); /** * Write a gamemap in to a vector string.