Fix build for Xcode.

This commit is contained in:
John Preston 2018-07-19 23:13:53 +03:00
parent ffd2817d18
commit 41977bf515
2 changed files with 4 additions and 3 deletions

View file

@ -390,7 +390,7 @@ protected:
virtual void setInformation(int32 size, int32 width, int32 height) = 0;
virtual FileLoader *createLoader(LoadFromCloudSetting fromCloud, bool autoLoading) = 0;
void checkload() const {
void checkload() const override {
doCheckload();
}
void loadLocal();
@ -462,10 +462,10 @@ public:
void setStorageLocation(const StorageImageLocation location);
virtual DelayedStorageImage *toDelayedStorageImage() {
virtual DelayedStorageImage *toDelayedStorageImage() override {
return this;
}
virtual const DelayedStorageImage *toDelayedStorageImage() const {
virtual const DelayedStorageImage *toDelayedStorageImage() const override {
return this;
}

View file

@ -61,6 +61,7 @@
'COPY_PHASE_STRIP': 'NO',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++1z',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
},
'configurations': {
'Debug': {