Skip to content

Commit

Permalink
Fix doccomment warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryLundberg committed Oct 25, 2018
1 parent 58fbc23 commit 5665351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/terrain/translation.cpp
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/terrain/translation.hpp
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 5665351

Please sign in to comment.