removed namespaces

This commit is contained in:
fourtf
2018-06-26 16:37:59 +02:00
parent 15abedd869
commit 2df0566492
273 changed files with 43 additions and 826 deletions
-2
View File
@@ -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
+4
View File
@@ -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
-2
View File
@@ -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