From: <ps...@us...> - 2009-03-29 12:12:46
|
Revision: 1449 http://znc.svn.sourceforge.net/znc/?rev=1449&view=rev Author: psychon Date: 2009-03-29 12:12:34 +0000 (Sun, 29 Mar 2009) Log Message: ----------- Move the iostream stuff and some "using" from main.h into Utils.h Modified Paths: -------------- trunk/Utils.h trunk/main.h Modified: trunk/Utils.h =================================================================== --- trunk/Utils.h 2009-03-29 11:43:35 UTC (rev 1448) +++ trunk/Utils.h 2009-03-29 12:12:34 UTC (rev 1449) @@ -17,9 +17,12 @@ #include <sys/time.h> #include <unistd.h> #include <vector> +#include <iostream> using std::map; using std::vector; +using std::cout; +using std::endl; #define DEBUG(f) do { \ if (CUtils::Debug()) { \ Modified: trunk/main.h =================================================================== --- trunk/main.h 2009-03-29 11:43:35 UTC (rev 1448) +++ trunk/main.h 2009-03-29 12:12:34 UTC (rev 1449) @@ -53,9 +53,4 @@ #define MODULECALL(macFUNC, macUSER, macCLIENT, macEXITER) #endif -#include <iostream> -using std::cout; -using std::cerr; -using std::endl; - #endif // !_MAIN_H This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |