-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Very little importance detail here. Since we use a pointer for extra damage information, would it make sense to use a pointer to const, or even a const pointer to const ?
The code concerned is in hexapod_dart -> hexapod.hpp:
struct HexapodDamage {
HexapodDamage() {}
HexapodDamage(const std::string& type, const std::string& data, void* extra = nullptr) : type(type), data(data), extra(extra) {}
std::string type;
std::string data;
void* extra = nullptr;
};
Metadata
Metadata
Assignees
Labels
No labels