Skip to content

Commit bc84506

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ce8fc7d commit bc84506

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

xcsf/pybind_wrapper.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,8 @@ class XCS
654654
char filename[] = "/tmp/xcsf_pickle_XXXXXX";
655655
int fd = mkstemp(filename);
656656
if (fd == -1) {
657-
throw std::runtime_error("Failed to create temporary file in serialize");
657+
throw std::runtime_error(
658+
"Failed to create temporary file in serialize");
658659
}
659660
close(fd);
660661

@@ -685,7 +686,8 @@ class XCS
685686
char filename[] = "/tmp/xcsf_pickle_XXXXXX";
686687
int fd = mkstemp(filename);
687688
if (fd == -1) {
688-
throw std::runtime_error("Failed to create temporary file in deserialize");
689+
throw std::runtime_error(
690+
"Failed to create temporary file in deserialize");
689691
}
690692
close(fd);
691693

0 commit comments

Comments
 (0)