# HG changeset patch # User Santeri Piippo # Date 1375493979 -10800 # Node ID b49930dcbe842e92a6c34821b5ce60757f75eaed # Parent ef382b98a8afb899ec5535119e4ede8a4514b1c9 Moved the alias macro to common.h diff -r ef382b98a8af -r b49930dcbe84 src/common.h --- 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, ...); diff -r ef382b98a8af -r b49930dcbe84 src/download.cpp --- 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, "");