summaryrefslogtreecommitdiff
path: root/game/vehicles/vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/vehicles/vehicle.h')
-rw-r--r--game/vehicles/vehicle.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h
index 15d401b..25ed5bb 100644
--- a/game/vehicles/vehicle.h
+++ b/game/vehicles/vehicle.h
@@ -11,14 +11,14 @@
class LinkHistory {
public:
- using Entry = std::pair<LinkWPtr, unsigned char /*dir*/>;
- using Return = std::pair<LinkCPtr, unsigned char /*dir*/>;
- Return add(const LinkWPtr &, unsigned char);
- [[nodiscard]] Return getCurrent() const;
- [[nodiscard]] Return getAt(float, float *) const;
+ using WEntry = std::pair<LinkWPtr, unsigned char /*dir*/>;
+ using Entry = std::pair<LinkCPtr, unsigned char /*dir*/>;
+ Entry add(const LinkWPtr &, unsigned char);
+ [[nodiscard]] Entry getCurrent() const;
+ [[nodiscard]] Entry getAt(float, float *) const;
private:
- std::vector<Entry> links;
+ std::vector<WEntry> links;
float totalLen {0.F};
};