From 1566be23d91ed1311bee2071bdae9ef93d0b7cf6 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Tue, 31 Jul 2001 17:01:20 +0000 Subject: [PATCH 1/1] - fixed three little standard-conformance issues. --- ginac/normal.cpp | 2 +- ginac/symmetry.cpp | 2 +- ginac/wildcard.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ginac/normal.cpp b/ginac/normal.cpp index 379d1230..7a52c71d 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -207,7 +207,7 @@ static void get_symbol_stats(const ex &a, const ex &b, sym_desc_vec &v) it->ldeg_b = b.ldegree(*(it->sym)); ++it; } - sort(v.begin(), v.end()); + std::sort(v.begin(), v.end()); #if 0 std::clog << "Symbols:\n"; it = v.begin(); itend = v.end(); diff --git a/ginac/symmetry.cpp b/ginac/symmetry.cpp index 74cb62ea..2312526e 100644 --- a/ginac/symmetry.cpp +++ b/ginac/symmetry.cpp @@ -161,7 +161,7 @@ int symmetry::compare_same_type(const basic & other) const return 0; } -void symmetry::print(const print_context & c, unsigned level = 0) const +void symmetry::print(const print_context & c, unsigned level) const { debugmsg("symmetry print", LOGLEVEL_PRINT); diff --git a/ginac/wildcard.cpp b/ginac/wildcard.cpp index 31d934a3..5d88146f 100644 --- a/ginac/wildcard.cpp +++ b/ginac/wildcard.cpp @@ -91,7 +91,7 @@ int wildcard::compare_same_type(const basic & other) const return label < o.label ? -1 : 1; } -void wildcard::print(const print_context & c, unsigned level = 0) const +void wildcard::print(const print_context & c, unsigned level) const { debugmsg("wildcard print", LOGLEVEL_PRINT); -- 2.44.0