Fixed deprecated API warnings (#16949)
This commit is contained in:
parent
18da874c57
commit
31398bb3eb
@ -23,6 +23,7 @@ namespace ov {
|
||||
* @deprecated This class will be removed in 2024.0 release
|
||||
* @brief Tries to act like [std::pmr::memory_resource](https://en.cppreference.com/w/cpp/memory/memory_resource)
|
||||
*/
|
||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
||||
struct OPENVINO_DEPRECATED("Do not inherit from AllocatorImpl. This class will be removed in 2024.0 release. Pass "
|
||||
"std::pmr::memory_resource like object directly to ov::Allocator") AllocatorImpl
|
||||
: public std::enable_shared_from_this<AllocatorImpl> {
|
||||
@ -60,6 +61,7 @@ struct OPENVINO_DEPRECATED("Do not inherit from AllocatorImpl. This class will b
|
||||
protected:
|
||||
virtual ~AllocatorImpl() = default;
|
||||
};
|
||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
||||
|
||||
class Tensor;
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace ov {
|
||||
|
||||
class OPENVINO_RUNTIME_API IRemoteTensor : public ITensor {
|
||||
public:
|
||||
void* data(const element::Type& type = {}) const final {
|
||||
void* data(const element::Type& type = {}) const override final {
|
||||
OPENVINO_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user