summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/pos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/pos.cpp b/muse2/muse/pos.cpp
index efa847cc..2d75dc4e 100644
--- a/muse2/muse/pos.cpp
+++ b/muse2/muse/pos.cpp
@@ -168,7 +168,7 @@ Pos& Pos::operator+=(int a)
Pos operator+(Pos a, int b)
{
- Pos c;
+ Pos c = a;
c.setType(a.type());
return c += b;
}