summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 22:56:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 22:56:20 +0000
commit78a9df6f02bd97c34861278a3c80f2dfdccf20f3 (patch)
treed91890aa864aa1140fa3a52cbe0e1004632a64a0
parent1905a36716979889e47bb0fdd7bf33c6204c5a6d (diff)
downloadrosegarden-78a9df6f02bd97c34861278a3c80f2dfdccf20f3.tar.gz
rosegarden-78a9df6f02bd97c34861278a3c80f2dfdccf20f3.zip
Fix rosegarden FTBFS under gcc4.6
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1244239 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--src/base/NotationTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/NotationTypes.cpp b/src/base/NotationTypes.cpp
index ceddf79..c0ccc91 100644
--- a/src/base/NotationTypes.cpp
+++ b/src/base/NotationTypes.cpp
@@ -566,7 +566,7 @@ Key::KeyList Key::getKeys(bool minor)
return result;
}
-Key::Key Key::transpose(int pitchDelta, int heightDelta)
+Key Key::transpose(int pitchDelta, int heightDelta)
{
Pitch tonic(getTonicPitch());
Pitch newTonic = tonic.transpose(*this, pitchDelta, heightDelta);