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
|
* @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)
|
* @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 "
|
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
|
"std::pmr::memory_resource like object directly to ov::Allocator") AllocatorImpl
|
||||||
: public std::enable_shared_from_this<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:
|
protected:
|
||||||
virtual ~AllocatorImpl() = default;
|
virtual ~AllocatorImpl() = default;
|
||||||
};
|
};
|
||||||
|
OPENVINO_SUPPRESS_DEPRECATED_END
|
||||||
|
|
||||||
class Tensor;
|
class Tensor;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ namespace ov {
|
|||||||
|
|
||||||
class OPENVINO_RUNTIME_API IRemoteTensor : public ITensor {
|
class OPENVINO_RUNTIME_API IRemoteTensor : public ITensor {
|
||||||
public:
|
public:
|
||||||
void* data(const element::Type& type = {}) const final {
|
void* data(const element::Type& type = {}) const override final {
|
||||||
OPENVINO_NOT_IMPLEMENTED;
|
OPENVINO_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user