updated to clean up compiler issues with how functions were used from basis namespace;
[feisty_meow.git] / graphiq / library / geometric / warper.h
index dd173bbb2a0af10bfbde415dc8989f6a9887cd33..7110bf06e2a80550969b73ae0eb1eaf2518e59fe 100644 (file)
@@ -208,8 +208,8 @@ rectangle<numeric_type> rectangle_warper<numeric_type>::flip_accordingly
   vertical_component vert2;
   separate_vertical(targo, vert2);
   bool flip_y = bool(vert1 != vert2);
-  if (flip_x) swap_values(x1, x2);
-  if (flip_y) swap_values(y1, y2);
+  if (flip_x) basis::swap_values(x1, x2);
+  if (flip_y) basis::swap_values(y1, y2);
 //LOG(basis::astring("it becomes ") + rectangle<numeric_type>(x1, y1, x2, y2).text_form());
   return rectangle<numeric_type>(x1, y1, x2, y2);
 }