Don't use -std=c++11 explicitly and update cmake version requirement.

This commit is contained in:
King_DuckZ 2016-10-31 20:47:47 +01:00
parent 7985ba2bc4
commit 19dc6759df
2 changed files with 21 additions and 17 deletions

View file

@ -33,18 +33,8 @@ namespace cloonel {
///-------------------------------------------------------------------------
///-------------------------------------------------------------------------
Character::Character (const std::string& parPath, SDLMain* parMain, float2 parSize) :
Placeable(float2(0.0f)),
Drawable(parSize),
m_bottomBar(float2(0.0f), parSize.x()),
m_screenRatio(parMain),
m_bounceCallback(&DoNothing),
m_texture(new Texture(parPath, parMain, false))
#if defined(WITH_DEBUG_VISUALS)
, m_bottomBarDrawable(parMain, Colour(250, 5, 1), static_cast<short2>(m_bottomBar.From()), static_cast<short2>(m_bottomBar.To()))
#endif
Character(std::string(parPath), parMain, parSize)
{
assert(parMain);
m_bottomBar.SetCallback(std::bind(&Character::OnBounce, this, std::placeholders::_1, std::placeholders::_2));
}
///-------------------------------------------------------------------------
@ -66,8 +56,7 @@ namespace cloonel {
///-------------------------------------------------------------------------
///-------------------------------------------------------------------------
Character::~Character() noexcept {
}
Character::~Character() noexcept = default;
///-------------------------------------------------------------------------
///-------------------------------------------------------------------------