From 2aca6b6bae23df4fe62247b9ec2bbb1cce54b624 Mon Sep 17 00:00:00 2001
From: Raphael Grimm <raphael.grimm@kit.edu>
Date: Tue, 20 Feb 2018 15:14:36 +0100
Subject: [PATCH] Use to_string instead of std::to_string

---
 source/ArmarXSimulation/components/Simulator/Simulator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/ArmarXSimulation/components/Simulator/Simulator.cpp b/source/ArmarXSimulation/components/Simulator/Simulator.cpp
index c4735e4f0..74b555d5d 100644
--- a/source/ArmarXSimulation/components/Simulator/Simulator.cpp
+++ b/source/ArmarXSimulation/components/Simulator/Simulator.cpp
@@ -591,7 +591,7 @@ bool Simulator::addSnapshot(WorkingMemorySnapshotInterfacePrx snapshotInterfaceP
                 int i = 2;
                 while (hasObject(instanceName))
                 {
-                    instanceName = snapInstance->getName() + "_" + std::to_string(i);
+                    instanceName = snapInstance->getName() + "_" + to_string(i);
                     i++;
                 }
                 if (instanceName != snapInstance->getName())
-- 
GitLab