summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-19 20:13:43 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-19 20:13:43 +0000
commit1e12add3e66522b94a5d0eea603c15f93f7dd8cd (patch)
tree2e73a74953e4a813b75e3e22d8da5b230e34f2a2 /src/log.h
parentsome cleanup (diff)
started to implement windows tunDevice
updated LogErrno to support Windows Error Codes
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.h b/src/log.h
index b6baf6f..de6da92 100644
--- a/src/log.h
+++ b/src/log.h
@@ -60,8 +60,8 @@ std::ostream& operator<<(std::ostream& stream, LogGpgError const& value);
class LogErrno
{
public:
- LogErrno(int e) : err_(e) {};
- int err_;
+ LogErrno(system_error_t e) : err_(e) {};
+ system_error_t err_;
};
std::ostream& operator<<(std::ostream& stream, LogErrno const& value);