aboutsummaryrefslogtreecommitdiff
path: root/src/common/varint.h
diff options
context:
space:
mode:
authorjebes <psteidelprogramming@gmail.com>2014-09-11 10:36:39 -0400
committerjebes <psteidelprogramming@gmail.com>2014-09-11 10:36:39 -0400
commitf7900ccfc15dad1054b19eec72022d778e3c1b84 (patch)
tree30021318a34a9b36ce1ade0775636804a80fd911 /src/common/varint.h
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadmonero-f7900ccfc15dad1054b19eec72022d778e3c1b84.tar.xz
mispelled brief, corrected it
Diffstat (limited to '')
-rw-r--r--src/common/varint.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/varint.h b/src/common/varint.h
index 8d4b4cce8..0e5110d7a 100644
--- a/src/common/varint.h
+++ b/src/common/varint.h
@@ -52,16 +52,16 @@
namespace tools {
- /*! \breif Error codes for varint
+ /*! \brief Error codes for varint
*/
enum {
- /* \breif Represents the overflow error */
+ /* \brief Represents the overflow error */
EVARINT_OVERFLOW = -1,
- /* \breif Represents a non conical represnetation */
+ /* \brief Represents a non conical represnetation */
EVARINT_REPRESENT = -2,
};
- /*! \breif writes a varint to a stream.
+ /*! \brief writes a varint to a stream.
*/
template<typename OutputIt, typename T>
/* Requires T to be both an integral type and unsigned, should be a compile error if it is not */
@@ -78,7 +78,7 @@ namespace tools {
dest++; /* Seems kinda pointless... */
}
- /*! \breif Returns the string that represents the varint
+ /*! \brief Returns the string that represents the varint
*/
template<typename T>
std::string get_varint_data(const T& v)
@@ -87,7 +87,7 @@ namespace tools {
write_varint(std::ostreambuf_iterator<char>(ss), v);
return ss.str();
}
- /*! \breif reads in the varint as pointer to by InputIt into i
+ /*! \brief reads in the varint as pointer to by InputIt into i
*/
template<int bits, typename InputIt, typename T>
typename std::enable_if<std::is_integral<T>::value && std::is_unsigned<T>::value && 0 <= bits && bits <= std::numeric_limits<T>::digits, int>::type
@@ -118,7 +118,7 @@ namespace tools {
return read;
}
- /*! \breif Wrapper around the other read_varint,
+ /*! \brief Wrapper around the other read_varint,
* Sets template parameters for you.
*/
template<typename InputIt, typename T>