File indexing completed on 2024-09-15 04:36:26

0001 /*
0002  *    SPDX-FileCopyrightText: 2015 Daniel Vrátil <dvratil@redhat.com>
0003  *
0004  *    SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #include "tristate_p.h"
0008 
0009 using namespace Akonadi;
0010 
0011 QDebug operator<<(QDebug dbg, Tristate tristate)
0012 {
0013     switch (tristate) {
0014     case Tristate::True:
0015         return dbg << "True";
0016     case Tristate::False:
0017         return dbg << "False";
0018     case Tristate::Undefined:
0019         return dbg << "Undefined";
0020     }
0021 
0022     Q_ASSERT(false);
0023     return dbg;
0024 }