aboutsummaryrefslogtreecommitdiff
path: root/src/hash.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/hash.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 '')
-rw-r--r--src/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.h b/src/hash.h
index 6065fe1..30ad256 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -612,7 +612,7 @@ namespace Bu
612 { 612 {
613 return hsh.getValueAtPos( nPos ); 613 return hsh.getValueAtPos( nPos );
614 } 614 }
615 }; 615 } iterator;
616 616
617 /** 617 /**
618 * Iteration structure for iterating through the hash (const). 618 * Iteration structure for iterating through the hash (const).
@@ -728,7 +728,7 @@ namespace Bu
728 { 728 {
729 return hsh.getValueAtPos( nPos ); 729 return hsh.getValueAtPos( nPos );
730 } 730 }
731 }; 731 } const_iterator;
732 732
733 /** 733 /**
734 * Get an iterator pointing to the first item in the hash table. 734 * Get an iterator pointing to the first item in the hash table.