aboutsummaryrefslogtreecommitdiff
path: root/src/set.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-04-28 23:01:03 +0000
committerMike Buland <eichlan@xagasoft.com>2008-04-28 23:01:03 +0000
commit2a49987a29270e14b5a9396b0ab3b7b4588770c3 (patch)
treeedb5cb767632323ef288451f38d669e0b2feba4e /src/set.h
parentd416848a9c212bf0503ec5b9de4cd23449ecd73c (diff)
downloadlibbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.gz
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.bz2
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.xz
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.zip
Apparently there were a number of things that weren't strict ISO C++, the new
version of gcc complained about them, none of these changes will break backward compatibility, so I fixed them. I added more docs too, it seems.
Diffstat (limited to 'src/set.h')
-rw-r--r--src/set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set.h b/src/set.h
index d6f7ae8..7dfa191 100644
--- a/src/set.h
+++ b/src/set.h
@@ -368,7 +368,7 @@ namespace Bu
368 { 368 {
369 return hsh.getKeyAtPos( nPos ); 369 return hsh.getKeyAtPos( nPos );
370 } 370 }
371 }; 371 } iterator;
372 372
373 /** 373 /**
374 * Iteration structure for iterating through the hash (const). 374 * Iteration structure for iterating through the hash (const).
@@ -466,7 +466,7 @@ namespace Bu
466 { 466 {
467 return hsh.getKeyAtPos( nPos ); 467 return hsh.getKeyAtPos( nPos );
468 } 468 }
469 }; 469 } const_iterator;
470 470
471 /** 471 /**
472 * Get an iterator pointing to the first item in the hash table. 472 * Get an iterator pointing to the first item in the hash table.