# HG changeset patch # User daedric # Date 1269775659 -7200 # Node ID b3ccbe25ab75e5f0a0cdf7e51baa3f743101edaa # Parent e16869cd9773c7db6e966ec58a3df122366b0212 Fix comment inversion diff -r e16869cd9773 -r b3ccbe25ab75 include/http/IHeader.hpp --- a/include/http/IHeader.hpp Thu Mar 25 21:36:16 2010 +0100 +++ b/include/http/IHeader.hpp Sun Mar 28 13:27:39 2010 +0200 @@ -40,14 +40,6 @@ */ virtual void setValue(const Key & k, const Value & value) = 0; - /** - * @brief Operator overloading to ease header access. - * - * If the key does not exists, it will be created. - * - * @see IHeader::getValue - */ - virtual const Value & operator[](const Key & k) const = 0; /** * @brief Operator overloading to ease header access. @@ -56,6 +48,15 @@ * * @throw std::exception if the key does not exists. */ + virtual const Value & operator[](const Key & k) const = 0; + + /** + * @brief Operator overloading to ease header access. + * + * If the key does not exists, it will be created. + * + * @see IHeader::getValue + */ virtual Value & operator[](const Key & k) = 0; /**