From 8b564722336f223d7760b3bd73eb1ec40ec91f0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 27 Nov 2007 19:56:19 +0000 Subject: [PATCH] remove indirect typedef git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21824 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/debug.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/debug.h b/src/debug.h index 64aa1d207b..f6a7f88cf3 100644 --- a/src/debug.h +++ b/src/debug.h @@ -28,7 +28,7 @@ namespace lyx { * compilable on older C++ compilators too, we use a struct instead. * This is all the different debug levels that we have. */ -class lyx_debug_trait { +class Debug { public: /// enum type { @@ -110,14 +110,13 @@ public: inline -void operator|=(lyx_debug_trait::type & d1, lyx_debug_trait::type d2) +void operator|=(Debug::type & d1, Debug::type d2) { - d1 = static_cast(d1 | d2); + d1 = static_cast(d1 | d2); } -typedef basic_debugstream LyXErr; -typedef LyXErr::debug Debug; +typedef basic_debugstream LyXErr; extern LyXErr lyxerr; -- 2.39.5