aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.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/util.h
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadmonero-f7900ccfc15dad1054b19eec72022d778e3c1b84.tar.xz
mispelled brief, corrected it
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/util.h b/src/common/util.h
index a512eb0a3..51f0dad90 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -58,7 +58,7 @@ namespace tools
*/
std::string get_default_data_dir();
- /*! \breif Returns the OS version string
+ /*! \brief Returns the OS version string
*
* \details This is a wrapper around the primitives
* get_windows_version_display_string() and
@@ -66,7 +66,7 @@ namespace tools
*/
std::string get_os_version_string();
- /*! \breif creates directories for a path
+ /*! \brief creates directories for a path
*
* wrapper around boost::filesyste::create_directories.
* (ensure-directory-exists): greenspun's tenth rule in action!
@@ -84,7 +84,7 @@ namespace tools
return crypto::cn_fast_hash(s.data(), s.size());
}
- /*! \breif Defines a signal handler for win32 and *nix
+ /*! \brief Defines a signal handler for win32 and *nix
*/
class signal_handler
{
@@ -111,7 +111,7 @@ namespace tools
private:
#if defined(WIN32)
- /*! \breif Handler for win */
+ /*! \brief Handler for win */
static BOOL WINAPI win_handler(DWORD type)
{
if (CTRL_C_EVENT == type || CTRL_BREAK_EVENT == type)
@@ -126,14 +126,14 @@ namespace tools
return TRUE;
}
#else
- /*! \breif handler for NIX */
+ /*! \brief handler for NIX */
static void posix_handler(int /*type*/)
{
handle_signal();
}
#endif
- /*! \breif calles m_handler */
+ /*! \brief calles m_handler */
static void handle_signal()
{
static std::mutex m_mutex;
@@ -141,7 +141,7 @@ namespace tools
m_handler();
}
- /*! \breif where the installed handler is stored */
+ /*! \brief where the installed handler is stored */
static std::function<void(void)> m_handler;
};
}