[Gmp-commit] /var/hg/gmp: #include <algorithm> for std::swap.
mercurial at gmplib.org
mercurial at gmplib.org
Sat Feb 16 18:31:52 CET 2013
details: /var/hg/gmp/rev/f1fe396f6897
changeset: 15446:f1fe396f6897
user: Marc Glisse <marc.glisse at inria.fr>
date: Sat Feb 16 18:31:49 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 d6a828f1505e -r f1fe396f6897 ChangeLog
--- a/ChangeLog Sat Feb 16 18:16:04 2013 +0100
+++ b/ChangeLog Sat Feb 16 18:31:49 2013 +0100
@@ -1,3 +1,7 @@
+2013-02-16 Marc Glisse <marc.glisse at inria.fr>
+
+ * gmpxx.h: Include <algorithm>.
+
2013-02-16 Torbjorn Granlund <tege at gmplib.org>
* mpn/x86_64/x86_64-defs.m4 (PROTECT): Emit '.hidden' instead of
diff -r d6a828f1505e -r f1fe396f6897 gmpxx.h
--- a/gmpxx.h Sat Feb 16 18:16:04 2013 +0100
+++ b/gmpxx.h Sat Feb 16 18:31:49 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