diff options
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index 6eaf065..94a4e72 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -188,10 +188,11 @@ private Q_SLOTS: | |||
188 | static flatbuffers::FlatBufferBuilder fbb; | 188 | static flatbuffers::FlatBufferBuilder fbb; |
189 | fbb.Clear(); | 189 | fbb.Clear(); |
190 | //This is the resource buffer type and not the domain type | 190 | //This is the resource buffer type and not the domain type |
191 | auto entityId = fbb.CreateString(""); | ||
191 | auto type = fbb.CreateString("event"); | 192 | auto type = fbb.CreateString("event"); |
192 | // auto delta = fbb.CreateVector<uint8_t>(entityFbb.GetBufferPointer(), entityFbb.GetSize()); | 193 | // auto delta = fbb.CreateVector<uint8_t>(entityFbb.GetBufferPointer(), entityFbb.GetSize()); |
193 | auto delta = Akonadi2::EntityBuffer::appendAsVector(fbb, entityFbb.GetBufferPointer(), entityFbb.GetSize()); | 194 | auto delta = Akonadi2::EntityBuffer::appendAsVector(fbb, entityFbb.GetBufferPointer(), entityFbb.GetSize()); |
194 | auto location = Akonadi2::Commands::CreateCreateEntity(fbb, type, delta); | 195 | auto location = Akonadi2::Commands::CreateCreateEntity(fbb, entityId, type, delta); |
195 | Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location); | 196 | Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location); |
196 | } | 197 | } |
197 | } | 198 | } |