Warning fix on clang.

This commit is contained in:
King_DuckZ 2015-05-28 00:25:06 +02:00
parent a82e8c16f6
commit 72b400ac0c
2 changed files with 2 additions and 8 deletions

View file

@ -126,7 +126,7 @@ namespace dk {
} }
template <typename T, uint32_t D, typename T1> template <typename T, uint32_t D, typename T1>
void TileIterator<T, D, T1>::advance (size_t parAdvance) { void TileIterator<T, D, T1>::advance (size_t /*parAdvance*/) {
//TODO: implement //TODO: implement
} }

View file

@ -33,8 +33,6 @@ namespace {
bool initialized; bool initialized;
}; };
template <typename Device, typename Tile>
void createLayer ( dk::Tyler<2>& parTiler, LayerWithData<Device, Tile>& parOut );
void printWelcome ( void ); void printWelcome ( void );
void addLayer ( dk::Tyler<2>& parTiler, LayerWithData<dkh::AsciiMapSource, int>& parLayerInfo, const char* parPath ); void addLayer ( dk::Tyler<2>& parTiler, LayerWithData<dkh::AsciiMapSource, int>& parLayerInfo, const char* parPath );
void printViewport ( const dk::Viewport<2>& parView, const dk::Layer<int, 2>& parLayer ); void printViewport ( const dk::Viewport<2>& parView, const dk::Layer<int, 2>& parLayer );
@ -131,10 +129,6 @@ int main() {
} }
namespace { namespace {
template <typename Device, typename Tile>
void createLayer (dk::Tyler<2>& parTiler, LayerWithData<Device, Tile>& parOut) {
}
void printWelcome() { void printWelcome() {
std::cout << "Welcome to " << APP_NAME << ' ' << DK_DEVICE_STRING << " version for " << DK_OS_STRING << ' ' << DK_ARCH_STRING << ' ' << DK_BIT_STRING; std::cout << "Welcome to " << APP_NAME << ' ' << DK_DEVICE_STRING << " version for " << DK_OS_STRING << ' ' << DK_ARCH_STRING << ' ' << DK_BIT_STRING;
#if defined(DK_ARM) #if defined(DK_ARM)
@ -174,7 +168,7 @@ namespace {
} }
} }
SDLSimple::~SDLSimple() { SDLSimple::~SDLSimple() noexcept {
if (initialized) { if (initialized) {
initialized = false; initialized = false;
SDL_Quit(); SDL_Quit();