Merge pull request #4993 from nextcloud/ci/useUsing

apply modernize-use-using via clang-tidy
This commit is contained in:
Matthieu Gallien 2022-10-04 11:14:27 +02:00 committed by GitHub
commit 17e2f1de03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -165,7 +165,7 @@ Q_ENUM_NS(ItemType)
using namespace CSyncEnums;
using CSYNC_STATUS = CSyncEnums::csync_status_codes_e;
typedef struct csync_file_stat_s csync_file_stat_t;
using csync_file_stat_t = struct csync_file_stat_s;
struct OCSYNC_EXPORT csync_file_stat_s {
time_t modtime = 0;

View file

@ -44,10 +44,10 @@ int oc_mkdir(const QString &path)
static mbchar_t wd_buffer[WD_BUFFER_SIZE];
typedef struct {
using statevar = struct {
QByteArray result;
QByteArray ignored_dir;
} statevar;
};
/* remove the complete test dir */
static int wipe_testdir()