summaryrefslogtreecommitdiffhomepage
path: root/compat/debug.cpp
blob: 0a342f8b844b016594762be7695795b280398d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#define FM_NO_CORRADE_DEBUG_EXTERN_TEMPLATE_QUOTED
#include "debug.hpp"

namespace floormat::detail::corrade_debug {

template struct Quoted<StringView>;

Debug::Flags debug1(Debug& dbg)
{
    auto flags = dbg.flags();
    dbg << "";
    dbg.setFlags(flags | Debug::Flag::NoSpace);
    dbg << "'";
    return flags;
}

Debug& debug2(Debug& dbg, Debug::Flags flags)
{
    dbg << "'";
    dbg.setFlags(flags);
    return dbg;
}

} // namespace floormat::detail::corrade_debug