From: svost Date: Mon, 11 Apr 2016 19:27:23 +0000 (+0300) Subject: Do not indent within a namespace X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=5221a90bb1fee55ea62beb9e02e9628e1043c936;hp=6436b36a5c2bc39b479d35ba39cda61de2b210bb;p=novacoin.git Do not indent within a namespace --- diff --git a/src/util.cpp b/src/util.cpp index 9fd406c..4225072 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -7,26 +7,16 @@ #include "sync.h" #include "version.h" #include "ui_interface.h" + #include #include // for to_lower() - -// Work around clang compilation problem in Boost 1.46: -// /usr/include/boost/program_options/detail/config_file.hpp:163:17: error: call to function 'to_internal' that is neither visible in the template definition nor found by argument-dependent lookup -// See also: http://stackoverflow.com/questions/10020179/compilation-fail-in-boost-librairies-program-options -// http://clang.debian.net/status.php?version=3.0&key=CANNOT_FIND_FUNCTION -namespace boost { - namespace program_options { - string to_internal(const string&); - } -} - #include #include #include #include - #include #include + #include #include @@ -46,14 +36,13 @@ namespace boost { #include /* for _commit */ #include "shlobj.h" #elif defined(__linux__) -# include +#include #endif #if !defined(WIN32) && !defined(ANDROID) #include #endif - using namespace std; namespace bt = boost::posix_time;