diff --git a/CImg.h b/CImg.h
index 220e87fffea813acaf24d56e50536cdd474c8680..d19b61e3089f757832f3cb6a875b530276d7f4f3 100644
--- a/CImg.h
+++ b/CImg.h
@@ -19111,14 +19111,6 @@ namespace cimg_library_suffixed {
               CImg<ulongT>::vector((ulongT)mp_matrix_svd,pos,arg1,p2,p3).move_to(code);
               _cimg_mp_return(pos);
             }
-
-            if (!std::strncmp(ss,"swap(",5)) { // Swap memory content
-              CImg<charT>("swap\0\2",6,1,1,1,true).move_to(macro_def);
-              CImg<charT>::string("(size(\1)==size(\2)?(unref(__builtin_SWAP__);" \
-                                  "__builtin_SWAP__=\1;\1=\2;\2=__builtin_SWAP__));",true,true).move_to(macro_body);
-              CImg<boolT>(macro_body.back()._width,1,1,1,false).move_to(macro_body_is_string);
-              break; // Program flow will continue to macro substitution
-            }
             break;
 
           case 't' :