Skip to content

Commit fc54222

Browse files
author
Lê Xuân Tuấn Anh
committed
apply coding style
1 parent b3f9574 commit fc54222

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/miniocpp/args.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
#ifndef MINIO_CPP_ARGS_H_INCLUDED
1919
#define MINIO_CPP_ARGS_H_INCLUDED
2020

21+
#include <filesystem>
2122
#include <functional>
2223
#include <list>
2324
#include <map>
2425
#include <string>
2526
#include <type_traits>
26-
#include <filesystem>
2727

2828
#include "error.h"
2929
#include "http.h"

src/client.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,9 @@ UploadObjectResponse Client::UploadObject(UploadObjectArgs args) {
780780
try {
781781
file.open(args.filename);
782782
} catch (std::system_error& err) {
783-
return error::make<UploadObjectResponse>(
784-
"unable to open file " + args.filename.u8string() + "; " + err.code().message());
783+
return error::make<UploadObjectResponse>("unable to open file " +
784+
args.filename.u8string() + "; " +
785+
err.code().message());
785786
}
786787

787788
PutObjectArgs po_args(file, args.object_size, 0);

0 commit comments

Comments
 (0)