forked from quickshell/quickshell
all: fix clang 18 lints
This commit is contained in:
parent
e957e88ccb
commit
2571766d3b
27 changed files with 47 additions and 35 deletions
|
|
@ -1,13 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include <qloggingcategory.h>
|
||||
#include <qobject.h>
|
||||
#include <qqmlintegration.h>
|
||||
#include <qsocketnotifier.h>
|
||||
#include <qtclasshelpermacros.h>
|
||||
#include <qtmetamacros.h>
|
||||
#include <qtypes.h>
|
||||
|
||||
#include "ipc.hpp"
|
||||
|
||||
|
|
@ -21,7 +20,7 @@ class PamResult: public QObject {
|
|||
QML_SINGLETON;
|
||||
|
||||
public:
|
||||
enum Enum {
|
||||
enum Enum : quint8 {
|
||||
/// Authentication was successful.
|
||||
Success = 0,
|
||||
/// Authentication failed.
|
||||
|
|
@ -44,7 +43,7 @@ class PamError: public QObject {
|
|||
QML_SINGLETON;
|
||||
|
||||
public:
|
||||
enum Enum {
|
||||
enum Enum : quint8 {
|
||||
/// Failed to start the pam session.
|
||||
StartFailed = 1,
|
||||
/// Failed to try to authenticate the user.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <iostream> // NOLINT std::cout
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue