A load more C++11 tweaks - mostly moving initialisations from constructors to inline

This commit is contained in:
Phil Nash
2017-04-25 18:56:53 +01:00
parent cc8206f4c3
commit e749724a11
23 changed files with 64 additions and 145 deletions

View File

@@ -71,7 +71,6 @@ namespace Catch {
}
struct TagInfo {
TagInfo() : count ( 0 ) {}
void add( std::string const& spelling ) {
++count;
spellings.insert( spelling );
@@ -83,7 +82,7 @@ namespace Catch {
return out;
}
std::set<std::string> spellings;
std::size_t count;
std::size_t count = 0;
};
inline std::size_t listTags( Config const& config ) {