From 5418233117faaba9292b2fe02d9128ef093aaa3a Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 22 Apr 2016 20:27:53 -0400 Subject: [PATCH] to_string -> int_to_string --- plugins/zone.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/zone.cpp b/plugins/zone.cpp index d674cc55f..7772968a3 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -1393,7 +1393,7 @@ pair> createAgeFilter(vector &filter_a } return make_pair( - "age of exactly " + to_string(target_age), + "age of exactly " + int_to_string(target_age), [target_age](df::unit *unit) -> bool { return getAge(unit, true) == target_age; } @@ -1419,7 +1419,7 @@ pair> createMinAgeFilter(vector &filte } return make_pair( - "minimum age of " + to_string(min_age), + "minimum age of " + int_to_string(min_age), [min_age](df::unit *unit) -> bool { return getAge(unit, true) >= min_age; } @@ -1445,7 +1445,7 @@ pair> createMaxAgeFilter(vector &filte } return make_pair( - "maximum age of " + to_string(max_age), + "maximum age of " + int_to_string(max_age), [max_age](df::unit *unit) -> bool { return getAge(unit, true) <= max_age; }