aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-11-03 17:58:32 +0000
committerlloyd <[email protected]>2010-11-03 17:58:32 +0000
commit832da89700302a0d837ad4483608193bc8fa31fe (patch)
tree71e029cad3bf6b78d76d66e2a6ae0d8b42f5acb8 /src/ssl
parent838f86c99cdcdf20b3ec01d66f0df38c947fff5d (diff)
If no TR1 is defined for use, error out here.
Also put using namespace inside the Botan namespace rather than in the global ns!
Diffstat (limited to 'src/ssl')
-rw-r--r--src/ssl/tls_record.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ssl/tls_record.h b/src/ssl/tls_record.h
index 9fe3769e3..7a223095f 100644
--- a/src/ssl/tls_record.h
+++ b/src/ssl/tls_record.h
@@ -19,12 +19,14 @@
#include <tr1/functional>
#elif defined(BOTAN_USE_BOOST_TR1)
#include <boost/tr1/functional.hpp>
+#else
+ #error "No TR1 library defined for use"
#endif
-using namespace std::tr1::placeholders;
-
namespace Botan {
+using namespace std::tr1::placeholders;
+
/**
* TLS Record Writer
*/