]> www.ginac.de Git - ginac.git/blobdiff - check/exam_hashmap.cpp
[docs] remind users tho send EOF marker when doing input from cin.
[ginac.git] / check / exam_hashmap.cpp
index c8540f3e49be5592d230f28f4585ff93c3d86d5b..56e0c1373a9bc15f2c5c359d4850ad6aad29587e 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-2011 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);