Fix queueSceneUpdates 16/123716/1
authorHannes Janetzek <hannes.janetzek@gmail.com>
Fri, 24 Mar 2017 10:33:11 +0000 (11:33 +0100)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Thu, 6 Apr 2017 18:10:31 +0000 (20:10 +0200)
Change-Id: Icf911a0cc4332b3803371571ee52c4b07c48e59c

src/mapzen/tangram/tangram.h

index d539f02..b58f4de 100644 (file)
@@ -49,7 +49,7 @@ public:
     // separated by a '.' and the value is a string of yaml to replace the current value
     // at the given path in the scene
     void queueSceneUpdate(const char* _path, const char* _value);
-    void queueSceneUpdate(std::vector<SceneUpdate> sceneUpdates);
+    void queueSceneUpdate(const std::vector<SceneUpdate>& sceneUpdates);
 
     // Apply all previously requested scene updates
     void applySceneUpdates();