From 44fde85b2496750b78939247d1d19a67c5b3dc71 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Nov 2016 15:24:14 +0200 Subject: C++11-compatibility fixes and improvements --- cutl/container/any.hxx | 6 ++---- cutl/container/graph.hxx | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'cutl/container') diff --git a/cutl/container/any.hxx b/cutl/container/any.hxx index c8d6308..3a31602 100644 --- a/cutl/container/any.hxx +++ b/cutl/container/any.hxx @@ -10,16 +10,14 @@ #include -#include - namespace cutl { namespace container { - class LIBCUTL_EXPORT any + class any { public: - struct LIBCUTL_EXPORT typing: exception {}; + struct typing: exception {}; public: any () diff --git a/cutl/container/graph.hxx b/cutl/container/graph.hxx index 9c1afe2..3f98c2a 100644 --- a/cutl/container/graph.hxx +++ b/cutl/container/graph.hxx @@ -10,14 +10,12 @@ #include #include -#include - namespace cutl { namespace container { - struct LIBCUTL_EXPORT no_edge: exception {}; - struct LIBCUTL_EXPORT no_node: exception {}; + struct no_edge: exception {}; + struct no_node: exception {}; template class graph -- cgit v1.1