Merge pull request #20836 from alexgiving:atrutnev/rename_Adapter_to_IAdapter

* Rename RMat::Adapter to RMat::IAdapter

* Add comments
This commit is contained in:
Trutnev Aleksei
2021-11-01 15:43:27 +03:00
committed by GitHub
parent 7b57df02a7
commit 17234f82d0
6 changed files with 18 additions and 16 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ TYPED_TEST(RMatTypedTest, CorrectAdapterCast) {
EXPECT_NE(nullptr, this->rmat().template get<T>());
}
class DummyAdapter : public RMat::Adapter {
class DummyAdapter : public RMat::IAdapter {
virtual RMat::View access(RMat::Access) override { return {}; }
virtual cv::GMatDesc desc() const override { return {}; }
};
@@ -103,7 +103,7 @@ TYPED_TEST(RMatTypedTest, IncorrectAdapterCast) {
EXPECT_EQ(nullptr, this->rmat().template get<DummyAdapter>());
}
class RMatAdapterForBackend : public RMat::Adapter {
class RMatAdapterForBackend : public RMat::IAdapter {
int m_i;
public:
RMatAdapterForBackend(int i) : m_i(i) {}