]> www.ginac.de Git - ginac.git/blobdiff - check/exam_hashmap.cpp
Finalize 1.7.6 release.
[ginac.git] / check / exam_hashmap.cpp
index 1aac8c8c2ee045d2b34aaab9a6246a18d0757b38..ad8c1b2e4b60626d80d428022f8963d8f2e97a06 100644 (file)
@@ -3,7 +3,7 @@
  *  Regression tests for the exhashmap<> container. */
 
 /*
- *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <iostream>
 #include "ginac.h"
-using namespace std;
 using namespace GiNaC;
 
+#include <iostream>
+using namespace std;
+
 unsigned exam_hashmap()
 {
        unsigned result = 0;
@@ -209,7 +210,7 @@ unsigned exam_hashmap()
        }
        if (it->second != 0) {
                clog << "find() returned an incorrect value" << endl;
-               +result;
+               ++result;
        }
 
        M5.erase(it);