From a100a10dc8750903e5bf3779c1f337f5a940910e Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 23 Jan 2020 20:20:13 +0800 Subject: [PATCH] change value's name...'or' is keyword in GCC. --- src/AssetsSourceFilesystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AssetsSourceFilesystem.cpp b/src/AssetsSourceFilesystem.cpp index 274cb6f..0722c29 100644 --- a/src/AssetsSourceFilesystem.cpp +++ b/src/AssetsSourceFilesystem.cpp @@ -14,10 +14,10 @@ namespace hgl public: - AssetsSourceFilesytem(const UTF8String &sn,const OSString &path,const bool or):AssetsSource(sn) + AssetsSourceFilesytem(const UTF8String &sn,const OSString &path,const bool _or):AssetsSource(sn) { root_path=path; - only_read=or; + only_read=_or; } bool hasNameAccess()const override{return true;}