2025-09-01 01:38 CEST

spring: develop 692e2341 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Mak Nazečić-Andrlon Mak Nazečić-Andrlon develop 2013-01-18 19:51:50 develop 291a0cd2
Changeset Change CFileHandler::ifs from std::ifstream* to std::ifstream

This removes the unnecessary dynamic allocation, and also introduces
CFileHandler::Open() for reopening it. This fixes a potential bug
which might happen if CFileHandlers were able to simply be assigned
to one another, as that might double-delete CFileHandler::ifs.
mod - rts/Map/SMF/SMFGroundTextures.cpp Diff ] File ]
mod - rts/System/FileSystem/FileHandler.cpp Diff ] File ]
mod - rts/System/FileSystem/FileHandler.h Diff ] File ]