aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/DataObject.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-03 19:41:16 +0000
committersaturneric <[email protected]>2025-02-03 19:41:16 +0000
commit349269cadaa757622403279c94c3f181cf9130ac (patch)
tree33ad72d79b9ef736e7b4f617ad978a543f4de6cc /src/core/model/DataObject.cpp
parentMerge branch 'develop' (diff)
parenttranslation: update zh_CN and de_DE (diff)
downloadGpgFrontend-349269cadaa757622403279c94c3f181cf9130ac.tar.gz
GpgFrontend-349269cadaa757622403279c94c3f181cf9130ac.zip
Merge branch 'develop'
Diffstat (limited to 'src/core/model/DataObject.cpp')
-rw-r--r--src/core/model/DataObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/DataObject.cpp b/src/core/model/DataObject.cpp
index 13838941..dbe5588e 100644
--- a/src/core/model/DataObject.cpp
+++ b/src/core/model/DataObject.cpp
@@ -41,7 +41,7 @@ class DataObject::Impl {
void AppendObject(const std::any& obj) { params_.push_back(obj); }
auto GetParameter(size_t index) -> std::any {
- if (index >= params_.size()) {
+ if (index >= static_cast<size_t>(params_.size())) {
throw std::out_of_range("index out of range");
}
return params_[index];