From: Ralph T. <ra...@gm...> - 2005-03-23 08:49:57
|
I just checked a small change into algorithm.hpp in the sandbox fixing a warning which appeared for most files in ASL. Was there any reason why swap was ambigous before (i.e.: does this break builds on other compilers)? Thanks, Ralph Index: adobe-source/adobe/algorithm.hpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/algorithm.hpp,v retrieving revision 1.1 diff -u -r1.1 algorithm.hpp --- adobe-source/adobe/algorithm.hpp 19 Mar 2005 00:16:38 -0000 1.1 +++ adobe-source/adobe/algorithm.hpp 23 Mar 2005 08:43:02 -0000 @@ -41,8 +41,7 @@ template <typename T> inline void do_swap(T& a, T& b) { - using namespace std; - swap(a, b); + std::swap(a, b); } |