Skip to content

Commit

Permalink
Removed redundant member initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg committed Dec 3, 2019
1 parent fa2d3fc commit 4143266
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/translations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,12 @@ std::string gettext_gendered( const GenderMap &genders, const std::string &msg )
}

translation::translation()
: ctxt( cata::nullopt ), raw_pl( cata::nullopt ), needs_translation( false )
: ctxt( cata::nullopt ), raw_pl( cata::nullopt )
{
}

translation::translation( const plural_tag )
: ctxt( cata::nullopt ), raw_pl( std::string() ), needs_translation( false )
: ctxt( cata::nullopt ), raw_pl( std::string() )
{
}

Expand All @@ -385,7 +385,7 @@ translation::translation( const std::string &ctxt, const std::string &raw,
}

translation::translation( const std::string &str, const no_translation_tag )
: ctxt( cata::nullopt ), raw( str ), raw_pl( cata::nullopt ), needs_translation( false )
: ctxt( cata::nullopt ), raw( str ), raw_pl( cata::nullopt )
{
}

Expand Down

0 comments on commit 4143266

Please sign in to comment.