From a95a858456ead996b08eb95dfe61d0b8cf994834 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 25 Jul 2017 18:18:14 -0400 Subject: [PATCH] fixup header --- include/afp/finder_info.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/include/afp/finder_info.h b/include/afp/finder_info.h index 2cf0f5b..d3794a7 100644 --- a/include/afp/finder_info.h +++ b/include/afp/finder_info.h @@ -38,10 +38,10 @@ namespace afp { ~finder_info(); finder_info(const finder_info &) = delete; - finder_info(finder_info &&) = delete; + finder_info(finder_info &&); finder_info& operator=(const finder_info &) = delete; - finder_info& operator=(finder_info &&) = delete; + finder_info& operator=(finder_info &&); bool read(const std::string &path, std::error_code &ec) { @@ -118,14 +118,6 @@ namespace afp { void close(); - #if defined(_WIN32) - bool write(void *handle, std::error_code &ec); - bool read(void *handle, std::error_code &ec); - #else - bool write(int fd, std::error_code &ec); - bool read(int fd, std::error_code &ec); - #endif - #if defined(_WIN32) void *_fd = (void *)-1; AFP_Info _afp;