Cosmetics.
[LibreOffice.git] / include / o3tl / numeric.hxx
blob09f67f53d5d3905308b08237f7d8befcb827a46a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_O3TL_NUMERIC_HXX
11 #define INCLUDED_O3TL_NUMERIC_HXX
13 #include <stdexcept>
15 namespace o3tl
17 struct divide_by_zero : public std::runtime_error
19 explicit divide_by_zero()
20 : std::runtime_error("divide by zero")
26 #endif
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */