]> www.ginac.de Git - ginac.git/blobdiff - check/exam_hashmap.cpp
Happy New Year!
[ginac.git] / check / exam_hashmap.cpp
index c8540f3e49be5592d230f28f4585ff93c3d86d5b..ad8c1b2e4b60626d80d428022f8963d8f2e97a06 100644 (file)
@@ -3,7 +3,7 @@
  *  Regression tests for the exhashmap<> container. */
 
 /*
- *  GiNaC Copyright (C) 1999-2009 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
@@ -210,7 +210,7 @@ unsigned exam_hashmap()
        }
        if (it->second != 0) {
                clog << "find() returned an incorrect value" << endl;
-               +result;
+               ++result;
        }
 
        M5.erase(it);