~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/map_objects/descriptions.h

  • Committer: The Widelands Bunnybot
  • Date: 2022-02-27 18:58:23 UTC
  • Revision ID: bunnybot@widelands.org-20220227185823-tyvkc7z2dho9it5a
Fix misc clang-tidy checks in `logic` (#5255)

(by Noordfrees)
f48cadd044004aa7eb32d222927ec9b0ab744457

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        DescriptionIndex safe_immovable_index(const std::string& immovablename) const;
87
87
        /// Returns the index for 'warename' and throws an exception if the ware can't be found.
88
88
        /// This function is safe for map/savegame compatibility.
89
 
        DescriptionIndex safe_resource_index(const std::string& warename) const;
 
89
        DescriptionIndex safe_resource_index(const std::string& resourcename) const;
90
90
        /// Returns the index for 'shipname' and throws an exception if the ship can't be found.
91
91
        /// This function is safe for map/savegame compatibility.
92
92
        DescriptionIndex safe_ship_index(const std::string& shipname) const;