From: Richard Kreckel Date: Tue, 31 Jul 2001 17:01:20 +0000 (+0000) Subject: - fixed three little standard-conformance issues. X-Git-Tag: release_0-9-2~7 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=1566be23d91ed1311bee2071bdae9ef93d0b7cf6 - fixed three little standard-conformance issues. --- 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);