diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-02-28 12:10:47 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-08-06 11:03:26 +0200 |
commit | 8c3a6b10a9b9f0818d2953473e57e69f24104b6d (patch) | |
tree | 66a2b75f035c2e8491bdcd3224909c633ba121d9 /core/io | |
parent | 18fb2afcacb401ebfa866b94f2be85da6f8feb0a (diff) |
OS: Fix used resource debug prints
These methods were broken by 22419082d9bedbc9dc060ea5784bb0871f8710a3
5 years ago and nobody complained, so maybe they're not so useful...
But at least this should restore them to a working state.
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/resource.cpp b/core/io/resource.cpp index 727611a573..0262655927 100644 --- a/core/io/resource.cpp +++ b/core/io/resource.cpp @@ -552,5 +552,7 @@ void ResourceCache::dump(const char *p_file, bool p_short) { } lock.read_unlock(); +#else + WARN_PRINT("ResourceCache::dump only with in debug builds."); #endif } |