Fixed warnings.

This commit is contained in:
Felix Ableitner 2013-05-01 18:04:41 +02:00
parent a2de030cbc
commit 027006c966
2 changed files with 2 additions and 1 deletions

View file

@ -160,10 +160,12 @@ Game::mouseDown(const sf::Event& event) {
case sf::Mouse::Right: case sf::Mouse::Right:
mPlayer->setDestination(convertCoordinates(event.mouseButton.x, mPlayer->setDestination(convertCoordinates(event.mouseButton.x,
event.mouseButton.y)); event.mouseButton.y));
break;
default: default:
break; break;
} }
} }
/** /**
* Handles mouse key up events. * Handles mouse key up events.
*/ */

View file

@ -38,7 +38,6 @@ private:
* Redundant data as portals are saved twice. * Redundant data as portals are saved twice.
*/ */
struct Pathfinder::Portal { struct Pathfinder::Portal {
Portal() = default;
bool operator==(const Portal& p); bool operator==(const Portal& p);
sf::Vector2i start; sf::Vector2i start;
sf::Vector2i end; sf::Vector2i end;