src/document.h

changeset 250
2837b549e616
parent 232
8efa3a33172e
child 262
dc33f8a707c4
--- a/src/document.h	Wed Jun 22 16:13:15 2022 +0300
+++ b/src/document.h	Wed Jun 22 16:53:35 2022 +0300
@@ -31,7 +31,7 @@
 	CircleMode
 };
 
-Q_DECLARE_METATYPE(EditingMode);
+Q_DECLARE_METATYPE(EditingMode)
 
 struct AppendToModel
 {
@@ -40,7 +40,7 @@
 
 struct DeleteFromModel
 {
-	int position;
+	std::size_t position;
 };
 
 using ModelAction = std::variant<AppendToModel, DeleteFromModel>;

mercurial