Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 17 files). Show all
Unified · Split
| @@ -18,7 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | #include "InterfaceActionFactory.h" |
| 19 | 19 | |
| 20 | 20 | |
| 21 | −EntityActionPointer interfaceActionFactory(EntityActionType type, QUuid id, EntityItemPointer ownerEntity) { | |
| 21 | +EntityActionPointer interfaceActionFactory(EntityActionType type, const QUuid& id, EntityItemPointer ownerEntity) { | |
| 22 | 22 | switch (type) { |
| 23 | 23 | case ACTION_TYPE_NONE: |
| 24 | 24 | return nullptr; |
| @@ -37,7 +37,7 @@ EntityActionPointer interfaceActionFactory(EntityActionType type, QUuid id, Enti · 12 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | EntityActionPointer InterfaceActionFactory::factory(EntitySimulation* simulation, |
| 39 | 39 | EntityActionType type, |
| 40 | − QUuid id, | |
| 40 | + const QUuid& id, | |
| 41 | 41 | EntityItemPointer ownerEntity, |
| 42 | 42 | QVariantMap arguments) { |
| 43 | 43 | EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity); |