removed namespaces
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include <cassert>
|
||||
|
||||
namespace chatterino {
|
||||
namespace util {
|
||||
|
||||
static void assertInGuiThread()
|
||||
{
|
||||
@@ -14,5 +13,4 @@ static void assertInGuiThread()
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace util
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
qDebug() << BOOST_CURRENT_FUNCTION << __LINE__ \
|
||||
<< static_cast<float>(x.nsecsElapsed()) / 1000000.0 << "ms";
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class BenchmarkGuard : boost::noncopyable
|
||||
{
|
||||
QElapsedTimer timer;
|
||||
@@ -35,3 +37,5 @@ public:
|
||||
return qreal(timer.nsecsElapsed()) / 1000000.0;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <QTime>
|
||||
|
||||
namespace chatterino {
|
||||
namespace debug {
|
||||
|
||||
template <typename... Args>
|
||||
inline void Log(const std::string &formatString, Args &&... args)
|
||||
@@ -15,5 +14,4 @@ inline void Log(const std::string &formatString, Args &&... args)
|
||||
<< fS(formatString, std::forward<Args>(args)...).c_str();
|
||||
}
|
||||
|
||||
} // namespace debug
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user