aboutsummaryrefslogtreecommitdiff
path: root/src/ui/style/StyleRuleSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/style/StyleRuleSet.cpp')
-rw-r--r--src/ui/style/StyleRuleSet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/style/StyleRuleSet.cpp b/src/ui/style/StyleRuleSet.cpp
index 4deaaefa..7b6454ec 100644
--- a/src/ui/style/StyleRuleSet.cpp
+++ b/src/ui/style/StyleRuleSet.cpp
@@ -37,7 +37,7 @@ void StyleRuleSet::SetParent(std::shared_ptr<StyleRuleSet> parent) {
RaiseChangeEvent();
}
-void StyleRuleSet::AddStyleRule(StyleRule rule, gsl::index index) {
+void StyleRuleSet::AddStyleRule(StyleRule rule, Index index) {
Expects(index >= 0 && index <= GetSize());
rules_.insert(rules_.cbegin() + index, std::move(rule));
@@ -45,7 +45,7 @@ void StyleRuleSet::AddStyleRule(StyleRule rule, gsl::index index) {
RaiseChangeEvent(model::ListChange::ItemAdd(index));
}
-void StyleRuleSet::RemoveStyleRule(gsl::index index, gsl::index count) {
+void StyleRuleSet::RemoveStyleRule(Index index, Index count) {
Expects(index >= 0);
Expects(count >= 0 && index + count <= GetSize());