summaryrefslogtreecommitdiffstats
path: root/common/pipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r--common/pipeline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp
index dc6f128..f29c7db 100644
--- a/common/pipeline.cpp
+++ b/common/pipeline.cpp
@@ -303,8 +303,8 @@ KAsync::Job<qint64> Pipeline::modifiedEntity(void const *command, size_t size)
303 SinkTraceCtx(d->logCtx) << "Move of " << current.identifier() << "was successfull"; 303 SinkTraceCtx(d->logCtx) << "Move of " << current.identifier() << "was successfull";
304 if (isMove) { 304 if (isMove) {
305 flatbuffers::FlatBufferBuilder fbb; 305 flatbuffers::FlatBufferBuilder fbb;
306 auto entityId = fbb.CreateString(current.identifier()); 306 auto entityId = fbb.CreateString(current.identifier().toStdString());
307 auto type = fbb.CreateString(bufferType); 307 auto type = fbb.CreateString(bufferType.toStdString());
308 auto location = Sink::Commands::CreateDeleteEntity(fbb, current.revision(), entityId, type, true); 308 auto location = Sink::Commands::CreateDeleteEntity(fbb, current.revision(), entityId, type, true);
309 Sink::Commands::FinishDeleteEntityBuffer(fbb, location); 309 Sink::Commands::FinishDeleteEntityBuffer(fbb, location);
310 const auto data = BufferUtils::extractBuffer(fbb); 310 const auto data = BufferUtils::extractBuffer(fbb);
@@ -450,8 +450,8 @@ void Preprocessor::createEntity(const Sink::ApplicationDomain::ApplicationDomain
450 const auto entityBuffer = BufferUtils::extractBuffer(entityFbb); 450 const auto entityBuffer = BufferUtils::extractBuffer(entityFbb);
451 451
452 flatbuffers::FlatBufferBuilder fbb; 452 flatbuffers::FlatBufferBuilder fbb;
453 auto entityId = fbb.CreateString(entity.identifier()); 453 auto entityId = fbb.CreateString(entity.identifier().toStdString());
454 auto type = fbb.CreateString(typeName); 454 auto type = fbb.CreateString(typeName.toStdString());
455 auto delta = Sink::EntityBuffer::appendAsVector(fbb, entityBuffer.constData(), entityBuffer.size()); 455 auto delta = Sink::EntityBuffer::appendAsVector(fbb, entityBuffer.constData(), entityBuffer.size());
456 auto location = Sink::Commands::CreateCreateEntity(fbb, entityId, type, delta); 456 auto location = Sink::Commands::CreateCreateEntity(fbb, entityId, type, delta);
457 Sink::Commands::FinishCreateEntityBuffer(fbb, location); 457 Sink::Commands::FinishCreateEntityBuffer(fbb, location);