Skip to content

Commit

Permalink
Fixed »void« return type on getters which was previously not reported…
Browse files Browse the repository at this point in the history
… as an error because of a compiler frontend bug.
  • Loading branch information
dnadlinger committed Nov 11, 2009
1 parent 122c49e commit 7fd901d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/d4/util/FreeCameraApplication.d
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ protected:
updateCamera( deltaTime );
}

final void cameraPosition() {
final Vector3 cameraPosition() {
return m_cameraPosition;
}
final void cameraPosition( Vector3 position ) {
m_cameraPosition = position;
}

final void cameraRotation() {
final Quaternion cameraRotation() {
return m_cameraRotation;
}
final void cameraRotation( Quaternion rotation ) {
Expand Down

0 comments on commit 7fd901d

Please sign in to comment.