Pass the TargetDescriptor by const-reference where we can
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Bloom::TargetController::Responses
|
||||
public:
|
||||
static constexpr ResponseType type = ResponseType::TARGET_DESCRIPTOR;
|
||||
|
||||
Targets::TargetDescriptor targetDescriptor;
|
||||
const Targets::TargetDescriptor& targetDescriptor;
|
||||
|
||||
explicit TargetDescriptor(const Targets::TargetDescriptor& targetDescriptor)
|
||||
: targetDescriptor(targetDescriptor)
|
||||
|
||||
Reference in New Issue
Block a user