summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-18 14:32:21 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-18 14:32:21 +0300
commitfb77cc08421c25e9dccac627ca3be65096235e16 (patch)
tree0e09c6feee4c237b43d46de442f20d5a27074e40 /sal/osl
parentfb00c725bba8b5ea30d47d28d0e54c071f1fe2a6 (diff)
No need for nested unnamed namespaces
Change-Id: I586c11d4fe61b56624ee158c04e365cfb0cc4012
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index da7eeeba250e..276cbe43a600 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -156,11 +156,9 @@ void maybeOutputTimestamp(std::ostringstream &s) {
#endif
-namespace {
- inline bool isDebug(sal_detail_LogLevel level) {
- return level == SAL_DETAIL_LOG_LEVEL_DEBUG ||
- level == SAL_DETAIL_LOG_LEVEL_DEBUG_TRACE;
- }
+bool isDebug(sal_detail_LogLevel level) {
+ return level == SAL_DETAIL_LOG_LEVEL_DEBUG ||
+ level == SAL_DETAIL_LOG_LEVEL_DEBUG_TRACE;
}
bool report(sal_detail_LogLevel level, char const * area) {