Consistently use pragma once in all headers

This commit is contained in:
Tobias Fella
2021-02-04 23:14:54 +01:00
parent 546d17b1a2
commit 1cb6b3bbd6
18 changed files with 29 additions and 48 deletions

View File

@@ -3,8 +3,8 @@
*
* SPDX-License-Identifier: GPL-3.0-only
*/
#ifndef Utils_H
#define Utils_H
#pragma once
#include "room.h"
#include "user.h"
@@ -26,5 +26,3 @@ static const QRegularExpression codePillRegExp{"<pre><code[^>]*>(.*?)</code></pr
static const QRegularExpression userPillRegExp{"<a href=\"https://matrix.to/#/@.*?:.*?\">(.*?)</a>", QRegularExpression::DotMatchesEverythingOption};
static const QRegularExpression strikethroughRegExp{"<del>(.*?)</del>", QRegularExpression::DotMatchesEverythingOption};
} // namespace utils
#endif