From e48edf6199d3b9452f73096f1c5d3c751e773ec6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 13 Sep 2019 17:35:31 +0300 Subject: [PATCH] - fixed compilation with MSVC src\gamedata\resourcefiles\resourcefile.h(77): error C4716: 'FResourceLump::FillCache': must return a value --- src/gamedata/resourcefiles/resourcefile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/resourcefiles/resourcefile.h b/src/gamedata/resourcefiles/resourcefile.h index a07029e84..5ff10c930 100644 --- a/src/gamedata/resourcefiles/resourcefile.h +++ b/src/gamedata/resourcefiles/resourcefile.h @@ -74,7 +74,7 @@ struct FResourceLump int ReleaseCache(); protected: - virtual int FillCache() {} + virtual int FillCache() { return -1; } };