Files
qt-creator/src/libs/sqlite/sqlitelibraryinitializer.h
Marco Bubke 49c85bbf70 QmlDesigner: Let ~LibraryInitializer() throw exception
Because LibraryInitializer has no state it should be fine if it is used
like intended. The exception is anyway fatal.

Change-Id: I397e5b03e63d69f1468b46a8f333522629f1d882
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-04-17 14:59:31 +00:00

21 lines
383 B
C++

// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "sqliteglobal.h"
namespace Sqlite {
class LibraryInitializer
{
public:
SQLITE_EXPORT static void initialize();
private:
LibraryInitializer();
~LibraryInitializer() noexcept(false);
};
} // namespace Sqlite