History

Switched to auto and changed macro

Atlante45 committed 11 years ago

Commit 296c0021 parent f2847ce37 files · +76 −74Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 37 files). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+1−1
@@ -268,7 +268,7 @@ void ControllerScriptingInterface::releaseJoystick(int joystickIndex) { · 267 unmodified lines
268268 }
269269
270270 glm::vec2 ControllerScriptingInterface::getViewportDimensions() const {
271− GLCanvas::SharedPointer glCanvas = DependencyManager::get<GLCanvas>();
271+ auto glCanvas = DependencyManager::get<GLCanvas>();
272272 return glm::vec2(glCanvas->width(), glCanvas->height());
273273 }
274274