From 808179551fa2be6cae79364fe9a23546feed472d Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Thu, 30 May 2013 23:29:48 -0500 Subject: [PATCH] remove dead code --- websocketpp/concurrency/none.hpp | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/websocketpp/concurrency/none.hpp b/websocketpp/concurrency/none.hpp index d5d0b14121..8c240e1d58 100644 --- a/websocketpp/concurrency/none.hpp +++ b/websocketpp/concurrency/none.hpp @@ -28,34 +28,21 @@ #ifndef WEBSOCKETPP_CONCURRENCY_NONE_HPP #define WEBSOCKETPP_CONCURRENCY_NONE_HPP -//#include - namespace websocketpp { namespace concurrency { namespace none_impl { class fake_mutex { public: - fake_mutex() { - //std::cout << "fake_mutex constructor: " << this << std::endl; - } - - ~fake_mutex() { - //std::cout << "fake_mutex destructor: " << this << std::endl; - } + fake_mutex() {} + ~fake_mutex() {} }; class fake_lock_guard { public: - explicit fake_lock_guard(fake_mutex foo) { - //std::cout << "fake_lock_guard constructor: " << this << " mutex: " << &foo << std::endl; - } - - ~fake_lock_guard() { - //std::cout << "fake_lock_guard destructor: " << this << std::endl; - } + explicit fake_lock_guard(fake_mutex foo) {} + ~fake_lock_guard() {} }; - } // namespace none_impl /// Stub Concurrency policy to remove locking in single threaded projects