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/compiler/context.hxx | 4 ++-- cutl/compiler/type-id.hxx | 2 +- cutl/compiler/type-info.hxx | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cutl/compiler') 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 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 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 -- cgit v1.1