History

responses to code review

Seth Alves committed 11 years ago

Commit 5e2f7201 parent a356cbf16 files · +100 −69Browse files

Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 16 files). Show all

Unified · Split

interface/src/InterfaceActionFactory.cpp+3−3
@@ -55,12 +55,12 @@ EntityActionPointer InterfaceActionFactory::factory(EntitySimulation* simulation · 54 unmodified lines
55EntityActionPointer InterfaceActionFactory::factoryBA(EntitySimulation* simulation,55EntityActionPointer InterfaceActionFactory::factoryBA(EntitySimulation* simulation,
56 EntityItemPointer ownerEntity,56 EntityItemPointer ownerEntity,
57 QByteArray data) {57 QByteArray data) {
58 QDataStream ds(data);58 QDataStream serializedArgumentStream(data);
59 EntityActionType type;59 EntityActionType type;
60 QUuid id;60 QUuid id;
61 61
62 ds >> type;62 serializedArgumentStream >> type;
63 ds >> id;63 serializedArgumentStream >> id;
64 64
65 EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity);65 EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity);
66 66