Fixup recent formatting boo boos I've committed

I always think I'll remember to clang-format before pushing, but I don't
always follow through.
This commit is contained in:
Ben Langmuir
2016-03-16 15:54:52 -07:00
parent 4b40dd69fc
commit a760b70827
3 changed files with 6 additions and 4 deletions

View File

@@ -37,11 +37,12 @@ struct Item {
std::string name;
std::string description;
uint8_t kind : 2;
uint8_t isExactMatch: 1;
uint8_t isExactMatch : 1;
double matchScore = 0.0; ///< The quality of the filter matching.
double finalScore = -1.0; ///< The final score including match and context.
ItemKind getKind() const { return static_cast<ItemKind>(kind); }
Item(ItemKind k = ItemKind::None) : kind(static_cast<decltype(kind)>(k)), isExactMatch(0) {}
Item(ItemKind k = ItemKind::None)
: kind(static_cast<decltype(kind)>(k)), isExactMatch(0) {}
virtual ~Item() {}
};
struct Result : public Item {