Skip to content

Commit 2e92468

Browse files
ùake format
1 parent 08e8ee8 commit 2e92468

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@ clean:
1313

1414
clang_format=`which clang-format`
1515
format: $(shell find . -name '*.hpp') $(shell find . -name '*.cpp')
16-
ifeq ($(findstring version 10,$(shell ${clang_format} --version 2>/dev/null)),)
17-
@echo "clang-format 10 is required"
18-
else
1916
@${clang_format} -i $?
20-
endif

cpp11test/src/test-doubles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include <cstring>
2+
#include "cpp11/as_vector.hpp"
23
#include "cpp11/doubles.hpp"
34
#include "cpp11/function.hpp"
45
#include "cpp11/integers.hpp"
56
#include "cpp11/sexp.hpp"
67
#include "cpp11/strings.hpp"
7-
#include "cpp11/as_vector.hpp"
88

99
#include <testthat.h>
1010

inst/include/cpp11/as_vector.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#include "R_ext/Arith.h" // for ISNA
4-
#include "cpp11/R.hpp" // for SEXP, SEXPREC, Rf_allocVector, REAL
3+
#include "R_ext/Arith.h" // for ISNA
4+
#include "cpp11/R.hpp" // for SEXP, SEXPREC, Rf_allocVector, REAL
55

66
#include "cpp11/doubles.hpp"
77
#include "cpp11/integers.hpp"
@@ -50,4 +50,4 @@ inline integers as_integers(sexp x) {
5050
throw type_error(INTSXP, TYPEOF(x));
5151
}
5252

53-
}
53+
} // namespace cpp11

0 commit comments

Comments
 (0)