1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

More fixes for clang warning...

This commit is contained in:
Arseniy Shestakov 2016-09-08 19:58:01 +03:00
parent 02f70464fb
commit 9296382bc6
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
class VCAI;
class CArmedInstance;
class CBank;
class SectorMap;
struct SectorMap;
class engineBase
{

View File

@ -21,7 +21,7 @@ class FuzzyHelper;
namespace Goals
{
struct AbstractGoal;
class AbstractGoal;
class VisitTile;
typedef std::shared_ptr<Goals::AbstractGoal> TSubgoal;
typedef std::vector<TSubgoal> TGoalVec;

View File

@ -272,7 +272,7 @@ zlib_filefunc64_def* FileStream::GetMinizipFilefunc()
return &MinizipFilefunc;
}
template class boost::iostreams::stream<FileBuf>;
template struct boost::iostreams::stream<FileBuf>;
/*static*/
bool FileStream::CreateFile(const boost::filesystem::path& filename)

View File

@ -37,7 +37,7 @@ struct zlib_filefunc64_def_s;
typedef zlib_filefunc64_def_s zlib_filefunc64_def;
#ifdef VCMI_DLL
extern template class DLL_LINKAGE boost::iostreams::stream<FileBuf>;
extern template struct DLL_LINKAGE boost::iostreams::stream<FileBuf>;
#endif
class DLL_LINKAGE FileStream : public boost::iostreams::stream<FileBuf>