summaryrefslogtreecommitdiffstats
path: root/sol/sol_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sol/sol_manager.hpp')
-rw-r--r--sol/sol_manager.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/sol/sol_manager.hpp b/sol/sol_manager.hpp
index a7e4a1c..e756574 100644
--- a/sol/sol_manager.hpp
+++ b/sol/sol_manager.hpp
@@ -33,13 +33,7 @@ struct CustomFD
CustomFD(int fd) :
fd(fd) {}
- ~CustomFD()
- {
- if(fd >=0)
- {
- close(fd);
- }
- }
+ ~CustomFD();
int operator()() const
{
OpenPOWER on IntegriCloud