diff options
Diffstat (limited to 'dummyresource/facade.cpp')
-rw-r--r-- | dummyresource/facade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dummyresource/facade.cpp b/dummyresource/facade.cpp index 949b4c4..4b7cd53 100644 --- a/dummyresource/facade.cpp +++ b/dummyresource/facade.cpp | |||
@@ -56,7 +56,7 @@ Async::Job<void> DummyResourceFacade::create(const Akonadi2::Domain::Event &doma | |||
56 | flatbuffers::FlatBufferBuilder fbb; | 56 | flatbuffers::FlatBufferBuilder fbb; |
57 | //This is the resource buffer type and not the domain type | 57 | //This is the resource buffer type and not the domain type |
58 | auto type = fbb.CreateString("event"); | 58 | auto type = fbb.CreateString("event"); |
59 | auto delta = fbb.CreateVector<uint8_t>(entityFbb.GetBufferPointer(), entityFbb.GetSize()); | 59 | auto delta = Akonadi2::EntityBuffer::appendAsVector(fbb, entityFbb.GetBufferPointer(), entityFbb.GetSize()); |
60 | auto location = Akonadi2::Commands::CreateCreateEntity(fbb, type, delta); | 60 | auto location = Akonadi2::Commands::CreateCreateEntity(fbb, type, delta); |
61 | Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location); | 61 | Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location); |
62 | mResourceAccess->open(); | 62 | mResourceAccess->open(); |