Skip to content

Commit

Permalink
Clean up a couple of comments I added
Browse files Browse the repository at this point in the history
  • Loading branch information
luther9 committed Jun 9, 2017
1 parent e9d4d89 commit 78b0b00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/units/types.hpp
Expand Up @@ -69,9 +69,9 @@ class unit_type

/**
* Validate the id argument.
* Replaces invalid characters with underscores.
* @param id the proposed id for a unit_type
* @throw error if id starts with a space
* Replaces invalid characters in the reference with underscores.
* @param id The proposed id for a unit_type.
* @throw error if id starts with a space.
*/
static void check_id(std::string& id);

Expand Down Expand Up @@ -105,8 +105,8 @@ class unit_type
void add_advancement(const unit_type &advance_to,int experience);

/** Get the advancement tree
* @return a set of ids of all unit_type objects that this unit_type can
* advance to
* @return A set of ids of all unit_type objects that this unit_type can
* directly or indirectly advance to.
*/
std::set<std::string> advancement_tree() const;

Expand Down

0 comments on commit 78b0b00

Please sign in to comment.