mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
Introduced template functions to unify enum<->string conversions
This commit is contained in:
@@ -80,7 +80,7 @@ map<centiseconds, Shape> animate(const map<centiseconds, Phone> &phones) {
|
||||
|
||||
for (auto it = shapes.cbegin(); it != shapes.cend(); ++it) {
|
||||
if (next(it) == shapes.cend()) break;
|
||||
logTimedEvent("shape", it->first, next(it)->first, shapeToString(it->second));
|
||||
logTimedEvent("shape", it->first, next(it)->first, enumToString(it->second));
|
||||
}
|
||||
|
||||
return shapes;
|
||||
|
||||
Reference in New Issue
Block a user