From 754bc0dec4a1c1623daf0953c46aa3e689571e75 Mon Sep 17 00:00:00 2001
From: Milan Svoboda <milan.svoboda@centrum.cz>
Date: Thu, 7 Jan 2010 18:14:51 +0100
Subject: [PATCH 4/4] Fix compilation failing with new boost library.

By legolas558, thank you.
---
 .../device/nonclosable_file_descriptor.hpp         |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/boost/iostreams/device/nonclosable_file_descriptor.hpp b/src/boost/iostreams/device/nonclosable_file_descriptor.hpp
index 7fe6b9f..bc9491e 100644
--- a/src/boost/iostreams/device/nonclosable_file_descriptor.hpp
+++ b/src/boost/iostreams/device/nonclosable_file_descriptor.hpp
@@ -28,10 +28,8 @@ public:
 #endif
     explicit nonclosable_file_descriptor( const std::string& path,
                               BOOST_IOS::openmode mode =
-                                  BOOST_IOS::in | BOOST_IOS::out,
-                              BOOST_IOS::openmode base_mode =
                                   BOOST_IOS::in | BOOST_IOS::out )
-        : file_descriptor(path, mode, base_mode) {}
+        : file_descriptor(path, mode) {}
 };
 
 } }
-- 
1.7.1

