Moved the alias macro to common.h

Sat, 03 Aug 2013 04:39:39 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 03 Aug 2013 04:39:39 +0300
changeset 433
b49930dcbe84
parent 432
ef382b98a8af
child 434
b7a73ef3d4de

Moved the alias macro to common.h

src/common.h file | annotate | diff | comparison | revisions
src/download.cpp file | annotate | diff | comparison | revisions
--- a/src/common.h	Sat Aug 03 04:32:13 2013 +0300
+++ b/src/common.h	Sat Aug 03 04:39:39 2013 +0300
@@ -56,6 +56,7 @@
 # define devf(...)
 #endif // RELEASE
 
+#define alias auto&
 #define elif else if
 
 void doDevf (const char* func, const char* fmtstr, ...);
--- a/src/download.cpp	Sat Aug 03 04:32:13 2013 +0300
+++ b/src/download.cpp	Sat Aug 03 04:39:39 2013 +0300
@@ -30,9 +30,6 @@
 #include "file.h"
 #include "gldraw.h"
 
-// TODO: Move this to common.h
-#define alias auto&
-
 PartDownloader g_PartDownloader;
 
 cfg (str, net_downloadpath, "");

mercurial