diff OSWindow.cpp @ 1980:c1c74df0a33e

changing most of auto types to their actual types
author Grumpy7
date Wed, 30 Oct 2013 00:47:37 -0700
parents 8cd321994943
children b00f5bb7d930
line wrap: on
line diff
--- a/OSWindow.cpp	Mon Oct 28 22:16:42 2013 -0700
+++ b/OSWindow.cpp	Wed Oct 30 00:47:37 2013 -0700
@@ -430,7 +430,7 @@
 
 OSWindow *OSWindow::Create(const wchar_t *title, int window_width, int window_height)
 {
-  auto window = new OSWindow;
+  OSWindow* window = new OSWindow;
   if (window)
     if (!window->Initialize(title, window_width, window_height))
     {
@@ -447,14 +447,14 @@
 {
   if (msg == WM_NCCREATE)
   {
-    auto cs = (CREATESTRUCTA *)(lparam);
-    auto window = (OSWindow *)cs->lpCreateParams;
+    CREATESTRUCTA* cs = (CREATESTRUCTA *)(lparam);
+    OSWindow* window = (OSWindow *)cs->lpCreateParams;
 
     SetWindowLongPtrW(hwnd, GWLP_USERDATA, (LONG_PTR)window);
     return DefWindowProcW(hwnd, msg, wparam, lparam);
   }
 
-  auto window = (OSWindow *)GetWindowLongPtrW(hwnd, GWLP_USERDATA);
+  OSWindow* window = (OSWindow *)GetWindowLongPtrW(hwnd, GWLP_USERDATA);
   if (window && window->api_handle == hwnd)
   {
     LPARAM result;