mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 17:37:34 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/13450 Pull Request resolved: https://github.com/facebook/react-native/pull/22065 This diff enables -Wunused-private-field clang warning for Android builds and fixes all broken targets. Reviewed By: gkmhub Differential Revision: D12881793 fbshipit-source-id: 515555661e137be9e7b20eac9b5bdcb549d6a094
30 lines
624 B
C++
30 lines
624 B
C++
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include "ImageManager.h"
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
ImageManager::ImageManager(void *platformSpecificCounterpart) {
|
|
// Silence unused-private-field warning.
|
|
(void)self_;
|
|
// Not implemented.
|
|
}
|
|
|
|
ImageManager::~ImageManager() {
|
|
// Not implemented.
|
|
}
|
|
|
|
ImageRequest ImageManager::requestImage(const ImageSource &imageSource) const {
|
|
// Not implemented.
|
|
return {};
|
|
}
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|