Skip to content

Commit 0c1e6fb

Browse files
committedMar 30, 2022
pre-commit run -a
1 parent b6fc5d8 commit 0c1e6fb

File tree

6 files changed

+33
-52
lines changed

6 files changed

+33
-52
lines changed
 

‎.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/mirrors-clang-format
3-
rev: v12.0.1
3+
rev: v13.0.1
44
hooks:
55
- id: clang-format
66
args: [-i, --style=Google]

‎NEWS

-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,3 @@ stasse (3):
129129
Reinforce the dependant->dependent policy. Merge the florent branch. Makes the test_depend.cpp test works.
130130
Reinforce the dependant->dependent policy.
131131
Adding documentation to cmdPlug.
132-

‎doc/Doxyfile.extra.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ WARN_LOGFILE = @CMAKE_BINARY_DIR@/doc/doxygen.log
293293

294294
INPUT = @CMAKE_SOURCE_DIR@/include \
295295
@CMAKE_SOURCE_DIR@/doc/additionalDoc
296-
296+
297297

298298
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
299299
# should be searched for input files as well. Possible values are YES and NO.
@@ -672,4 +672,4 @@ MATHJAX_FORMAT = SVG
672672

673673
ALIASES += "cheatsheet=\xrefitem cheatsheet \"Remarkable identity\" \"Cheat sheet\""
674674

675-
CITE_BIB_FILES += @CMAKE_SOURCE_DIR@/doc/sot.bib
675+
CITE_BIB_FILES += @CMAKE_SOURCE_DIR@/doc/sot.bib

‎doc/pictures/entity.svg

+1-1
Loading

‎include/dynamic-graph/command-bind.h

+26-43
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ struct CommandVoid4 : public Command {
283283
CommandVoid4(E &entity, function_t function, const std::string &docString)
284284
: Command(entity,
285285
boost::assign::list_of(ValueHelper<T1>::TypeID)(
286-
ValueHelper<T2>::TypeID)(
287-
ValueHelper<T3>::TypeID)(ValueHelper<T4>::TypeID),
286+
ValueHelper<T2>::TypeID)(ValueHelper<T3>::TypeID)(
287+
ValueHelper<T4>::TypeID),
288288
docString),
289289
fptr(function) {}
290290

@@ -357,13 +357,11 @@ struct CommandVoid5 : public Command {
357357
const T4 &, const T5 &);
358358

359359
CommandVoid5(E &entity, function_t function, const std::string &docString)
360-
: Command(
361-
entity,
362-
boost::assign::list_of(ValueHelper<T1>::TypeID)(
363-
ValueHelper<T2>::TypeID)(
364-
ValueHelper<T3>::TypeID)(ValueHelper<T4>::TypeID)(ValueHelper<
365-
T5>::TypeID),
366-
docString),
360+
: Command(entity,
361+
boost::assign::list_of(ValueHelper<T1>::TypeID)(
362+
ValueHelper<T2>::TypeID)(ValueHelper<T3>::TypeID)(
363+
ValueHelper<T4>::TypeID)(ValueHelper<T5>::TypeID),
364+
docString),
367365
fptr(function) {}
368366

369367
protected:
@@ -444,15 +442,12 @@ struct CommandVoid6 : public Command {
444442
const T4 &, const T5 &, const T6 &);
445443

446444
CommandVoid6(E &entity, function_t function, const std::string &docString)
447-
: Command(
448-
entity,
449-
boost::assign::list_of(ValueHelper<T1>::TypeID)(
450-
ValueHelper<T2>::TypeID)(
451-
ValueHelper<T3>::TypeID)(ValueHelper<
452-
T4>::TypeID)(ValueHelper<T5>::
453-
TypeID)(ValueHelper<
454-
T6>::TypeID),
455-
docString),
445+
: Command(entity,
446+
boost::assign::list_of(ValueHelper<T1>::TypeID)(
447+
ValueHelper<T2>::TypeID)(ValueHelper<T3>::TypeID)(
448+
ValueHelper<T4>::TypeID)(ValueHelper<T5>::TypeID)(
449+
ValueHelper<T6>::TypeID),
450+
docString),
456451
fptr(function) {}
457452

458453
protected:
@@ -536,17 +531,12 @@ struct CommandVoid7 : public Command {
536531
const T7 &);
537532

538533
CommandVoid7(E &entity, function_t function, const std::string &docString)
539-
: Command(
540-
entity,
541-
boost::assign::list_of(ValueHelper<T1>::TypeID)(
542-
ValueHelper<T2>::TypeID)(
543-
ValueHelper<T3>::
544-
TypeID)(ValueHelper<
545-
T4>::TypeID)(ValueHelper<T5>::
546-
TypeID)(ValueHelper<T6>::
547-
TypeID)(ValueHelper<
548-
T7>::TypeID),
549-
docString),
534+
: Command(entity,
535+
boost::assign::list_of(ValueHelper<T1>::TypeID)(
536+
ValueHelper<T2>::TypeID)(ValueHelper<T3>::TypeID)(
537+
ValueHelper<T4>::TypeID)(ValueHelper<T5>::TypeID)(
538+
ValueHelper<T6>::TypeID)(ValueHelper<T7>::TypeID),
539+
docString),
550540
fptr(function) {}
551541

552542
protected:
@@ -633,20 +623,13 @@ struct CommandVoid8 : public Command {
633623
const T7 &, const T8 &);
634624

635625
CommandVoid8(E &entity, function_t function, const std::string &docString)
636-
: Command(
637-
entity,
638-
boost::assign::list_of(ValueHelper<T1>::TypeID)(
639-
ValueHelper<T2>::TypeID)(
640-
ValueHelper<T3>::
641-
TypeID)(ValueHelper<T4>::
642-
TypeID)(ValueHelper<T5>::
643-
TypeID)(ValueHelper<T6>::
644-
TypeID)(ValueHelper<
645-
T7>::
646-
TypeID)(ValueHelper<
647-
T8>::
648-
TypeID),
649-
docString),
626+
: Command(entity,
627+
boost::assign::list_of(ValueHelper<T1>::TypeID)(
628+
ValueHelper<T2>::TypeID)(ValueHelper<T3>::TypeID)(
629+
ValueHelper<T4>::TypeID)(ValueHelper<T5>::TypeID)(
630+
ValueHelper<T6>::TypeID)(ValueHelper<T7>::TypeID)(
631+
ValueHelper<T8>::TypeID),
632+
docString),
650633
fptr(function) {}
651634

652635
protected:

‎js/view_sot_dg.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script>
77
function renderDOTFile() {
88
var fileInputElement = document.getElementById("fileInputElement");
9-
9+
1010
var reader = new FileReader();
1111
var graphtextres = ""
1212
reader.onloadend = function(e) {
@@ -27,7 +27,7 @@
2727
.catch(error => {
2828
// Create a new Viz instance (@see Caveats page for more info)
2929
viz = new Viz();
30-
30+
3131
// Possibly display the error
3232
console.error(error);
3333
});
@@ -37,7 +37,7 @@
3737

3838

3939
</script>
40-
<input type="file" id="fileInputElement">
40+
<input type="file" id="fileInputElement">
4141
<input id="Rendering" type="button" value="Rendering" onclick="renderDOTFile();" />
4242
<script>
4343
var el = document.getElementById("Rendering");
@@ -49,4 +49,3 @@
4949
</body>
5050

5151
</html>
52-

0 commit comments

Comments
 (0)
Please sign in to comment.