comparison Exception/Exception.hpp @ 74:19d8825ec501

Add define for code that can never be reached. To avoid the line being counted.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Sat, 16 Feb 2013 15:26:27 +0100
parents c9447697609f
children
comparison
equal deleted inserted replaced
73:c9447697609f 74:19d8825ec501
1 #ifndef EXCEPTION_HPP 1 #ifndef EXCEPTION_HPP
2 #define EXCEPTION_HPP 2 #define EXCEPTION_HPP
3 3
4 #define NORETURN __attribute__ ((noreturn)) 4 #define NORETURN __attribute__ ((noreturn))
5 #define UNREACHABLE() abort()
5 6
6 #include <QtCore/QString> 7 #include <QtCore/QString>
7 8
8 class Exception { 9 class Exception {
9 10