]> git.donarmstrong.com Git - bamtools.git/commitdiff
Removed use of std::map::at() in HttpHeader, not a standard STL method
authorderek <derekwbarnett@gmail.com>
Fri, 13 Jan 2012 17:06:22 +0000 (12:06 -0500)
committerderek <derekwbarnett@gmail.com>
Fri, 13 Jan 2012 17:06:22 +0000 (12:06 -0500)
src/api/internal/io/HttpHeader_p.cpp

index c4f78b6c268a18d22017a74b6ddc07a6e2285da2..39f4baaa36a5a58de03eebf92aa2191f7cc60ef5 100644 (file)
@@ -2,7 +2,7 @@
 // HttpHeader_p.cpp (c) 2011 Derek Barnett
 // Marth Lab, Department of Biology, Boston College
 // ---------------------------------------------------------------------------
-// Last modified: 10 November 2011 (DB)
+// Last modified: 13 January 2012 (DB)
 // ---------------------------------------------------------------------------
 // Provides a generic interface for parsing/generating HTTP headers, along
 // with specialized request & response header types
@@ -127,7 +127,7 @@ int HttpHeader::GetMinorVersion(void) const {
 
 string HttpHeader::GetValue(const string& key) const {
     if ( ContainsKey(key) )
-        return m_fields.at(key);
+        return m_fields[key];
     else return string();
 }