Fixed throw(type) deprecated in C++11 warning

feature/develop-atys
Nimetu 4 years ago
parent 1e465b6cff
commit 474802810b

@ -32,7 +32,7 @@ public:
uint32 Size; uint32 Size;
uint32 LastModified; uint32 LastModified;
void serial(NLMISC::IStream &f) throw(NLMISC::EStream); void serial(NLMISC::IStream &f);
}; };
@ -40,7 +40,7 @@ public:
CStreamedPackage(); CStreamedPackage();
~CStreamedPackage(); ~CStreamedPackage();
void serial(NLMISC::IStream &f) throw(NLMISC::EStream); void serial(NLMISC::IStream &f);
/// result: [out] ex. /00/00/000000000.. /// result: [out] ex. /00/00/000000000..
/// hash: [in] /// hash: [in]

@ -32,7 +32,7 @@ CStreamedPackage::~CStreamedPackage()
// release // release
} }
void CStreamedPackage::serial(NLMISC::IStream &f) throw(NLMISC::EStream) void CStreamedPackage::serial(NLMISC::IStream &f)
{ {
f.serialCheck(NELID("SNPK")); f.serialCheck(NELID("SNPK"));
@ -42,7 +42,7 @@ void CStreamedPackage::serial(NLMISC::IStream &f) throw(NLMISC::EStream)
f.serialCont(Entries); f.serialCont(Entries);
} }
void CStreamedPackage::CEntry::serial(NLMISC::IStream &f) throw(NLMISC::EStream) void CStreamedPackage::CEntry::serial(NLMISC::IStream &f)
{ {
uint version = 1; uint version = 1;
f.serialVersion(version); f.serialVersion(version);

Loading…
Cancel
Save