aboutsummaryrefslogtreecommitdiff
path: root/cutl/compiler
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-14 15:24:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-14 15:24:14 +0200
commit44fde85b2496750b78939247d1d19a67c5b3dc71 (patch)
treecb7f87c14037727ddc89bb7499457b5e3207ad98 /cutl/compiler
parent7945c1771bbb57125b3e3343fa84bfc314e0f4d4 (diff)
C++11-compatibility fixes and improvements
Diffstat (limited to 'cutl/compiler')
-rw-r--r--cutl/compiler/context.hxx4
-rw-r--r--cutl/compiler/type-id.hxx2
-rw-r--r--cutl/compiler/type-info.hxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/cutl/compiler/context.hxx b/cutl/compiler/context.hxx
index 2933e36..15d9402 100644
--- a/cutl/compiler/context.hxx
+++ b/cutl/compiler/context.hxx
@@ -22,8 +22,8 @@ namespace cutl
class LIBCUTL_EXPORT context
{
public:
- struct LIBCUTL_EXPORT no_entry: exception {};
- struct LIBCUTL_EXPORT typing: exception {};
+ struct no_entry: exception {};
+ struct typing: exception {};
public:
context () {}
diff --git a/cutl/compiler/type-id.hxx b/cutl/compiler/type-id.hxx
index f37454e..a23393b 100644
--- a/cutl/compiler/type-id.hxx
+++ b/cutl/compiler/type-id.hxx
@@ -13,7 +13,7 @@ namespace cutl
{
namespace compiler
{
- class LIBCUTL_EXPORT type_id
+ class type_id
{
public:
template<typename X>
diff --git a/cutl/compiler/type-info.hxx b/cutl/compiler/type-info.hxx
index 8d9a32b..4e73d4d 100644
--- a/cutl/compiler/type-info.hxx
+++ b/cutl/compiler/type-info.hxx
@@ -27,7 +27,7 @@ namespace cutl
//
//
- class LIBCUTL_EXPORT base_info
+ class base_info
{
public:
base_info (type_id const&);
@@ -46,7 +46,7 @@ namespace cutl
//
//
- class LIBCUTL_EXPORT type_info
+ class type_info
{
typedef std::vector<base_info> bases;
@@ -78,12 +78,12 @@ namespace cutl
//
//
- class LIBCUTL_EXPORT no_type_info: exception {};
+ class no_type_info: exception {};
LIBCUTL_EXPORT type_info const&
lookup (type_id const&);
- LIBCUTL_EXPORT type_info const&
+ type_info const&
lookup (std::type_info const&);
template <typename X>