Skip to content

Commit

Permalink
Fix bas TabRegistry::empty implementation
Browse files Browse the repository at this point in the history
adamkewley committed Jun 18, 2024
1 parent 87fcb3c commit 9640b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/UI/Tabs/TabRegistry.h
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ namespace osc

const_iterator begin() const;
const_iterator end() const;
[[nodiscard]] bool empty() const { return size() > 0; }
[[nodiscard]] bool empty() const { return size() <= 0; }
size_type size() const;
TabRegistryEntry operator[](size_type) const;
std::optional<TabRegistryEntry> find_by_name(std::string_view) const;

0 comments on commit 9640b22

Please sign in to comment.