Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Nov 22, 2024
1 parent 0969a1f commit d6c1968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/RideRatings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class RideRatings : public testing::Test
std::string FormatRatings(const Ride& ride)
{
RatingTuple ratings = ride.ratings;
std::string name = ride.GetRideTypeDescriptor().Name;
auto name = std::string(ride.GetRideTypeDescriptor().Name);
std::string line = String::StdFormat(
"%s: (%d, %d, %d)", name.c_str(), static_cast<int>(ratings.excitement), static_cast<int>(ratings.intensity),
static_cast<int>(ratings.nausea));
Expand Down

0 comments on commit d6c1968

Please sign in to comment.