From f54da895315d6e6dfd947cf2b67b74972194788f Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Sat, 6 Jun 2015 14:14:46 +0200 Subject: [PATCH] Uneeded property. --- include/doorkeeper/helpers/asciimapsource.hpp | 1 - src/asciimapsource.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/doorkeeper/helpers/asciimapsource.hpp b/include/doorkeeper/helpers/asciimapsource.hpp index a8e0004..9bea378 100644 --- a/include/doorkeeper/helpers/asciimapsource.hpp +++ b/include/doorkeeper/helpers/asciimapsource.hpp @@ -41,7 +41,6 @@ namespace dkh { std::vector m_wholedata; const coords m_mapSize; const coords m_tileSize; - std::size_t m_bytepos; const dk::MapTypes m_mapType; }; } //namespace dkh diff --git a/src/asciimapsource.cpp b/src/asciimapsource.cpp index 4c886fd..33cba20 100644 --- a/src/asciimapsource.cpp +++ b/src/asciimapsource.cpp @@ -13,7 +13,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (const char* parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { std::ifstream src(parFilename); @@ -25,7 +24,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (const std::string& parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { std::ifstream src(parFilename); @@ -37,7 +35,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (std::istream& parData, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { parse_map_data(parData);