[Gmp-commit] /var/hg/gmp-5.1: #include <algorithm> for std::swap.

mercurial at gmplib.org mercurial at gmplib.org
Sat Feb 16 19:07:09 CET 2013


details:   /var/hg/gmp-5.1/rev/190124929931
changeset: 15388:190124929931
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Sat Feb 16 18:58:14 2013 +0100
description:
#include <algorithm> for std::swap.

diffstat:

 ChangeLog |  4 ++++
 gmpxx.h   |  1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 44cab8046433 -r 190124929931 ChangeLog
--- a/ChangeLog	Mon Feb 11 22:22:14 2013 +0100
+++ b/ChangeLog	Sat Feb 16 18:58:14 2013 +0100
@@ -1,3 +1,7 @@
+2013-02-16  Marc Glisse  <marc.glisse at inria.fr>
+
+	* gmpxx.h: Include <algorithm>.
+
 2013-02-10  Torbjorn Granlund  <tege at gmplib.org>
 
 	* Version 5.1.1 released.
diff -r 44cab8046433 -r 190124929931 gmpxx.h
--- a/gmpxx.h	Mon Feb 11 22:22:14 2013 +0100
+++ b/gmpxx.h	Sat Feb 16 18:58:14 2013 +0100
@@ -26,6 +26,7 @@
 #include <cstring>  /* for strlen */
 #include <limits>  /* numeric_limits */
 #include <utility>
+#include <algorithm>  /* swap */
 #include <string>
 #include <stdexcept>
 #include <cfloat>


More information about the gmp-commit mailing list