diff options
author | Florian Jung <flo@windfisch.org> | 2013-09-23 22:40:01 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-09-23 22:40:01 +0200 |
commit | b9cbb99adfd5b6959ac4f9667f29b0bf48d4a9a1 (patch) | |
tree | d37b01ac6570db7ff4b1640d28fd9576f5d33438 /muse2 | |
parent | 7af8e012c50be47c903871286a49ae18723941ee (diff) |
Pos operator+ fix
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/muse/pos.cpp | 2 |
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; } |