mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-19 03:15:40 +02:00
A load more C++11 tweaks - mostly moving initialisations from constructors to inline
This commit is contained in:
@@ -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 ) {
|
||||
|
Reference in New Issue
Block a user