From 30d28c558015afe22822647cc3943e2afb14afde Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 30 Nov 2015 12:07:33 +0100 Subject: Extract actual function acquisition The pointers to the actual function implementations are now fetched inside the `actual` namespace declared in the `actual_function.h` header. Fixed source of _noreturn_ related warning during compilation by adding the appropriate flag. Sadly this means that we can not use `std::function` in this context as it doesn't seem to carry these _c-like_ flags. --- src/io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index c36a5b0..676ebac 100644 --- a/src/io.h +++ b/src/io.h @@ -1,5 +1,5 @@ -#ifndef CHANGE_IO_H_ -#define CHANGE_IO_H_ +#ifndef CHANGE_SRC_IO_H_ +#define CHANGE_SRC_IO_H_ #include #include @@ -58,4 +58,4 @@ bool is_regular_file(int fd) { } -#endif // CHANGE_IO_H_ +#endif // CHANGE_SRC_IO_H_ -- cgit v1.2.3