aboutsummaryrefslogtreecommitdiff
path: root/butl/diagnostics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-22 14:44:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-22 14:44:46 +0200
commitfd72f7f1ab0e93a4dd885323d0416938c6a4914e (patch)
tree190d36803e8ddda1e8b94b42b52a1b750c59e1b8 /butl/diagnostics
parent0324ad68eed762ebf00ed4fb5a7ea2f2e3bd77b6 (diff)
Add missing export macro
Diffstat (limited to 'butl/diagnostics')
-rw-r--r--butl/diagnostics5
1 files changed, 3 insertions, 2 deletions
diff --git a/butl/diagnostics b/butl/diagnostics
index 77f3f9c..b56ef10 100644
--- a/butl/diagnostics
+++ b/butl/diagnostics
@@ -11,13 +11,14 @@
#include <utility> // move(), forward()
#include <exception> // uncaught_exception()
+#include <butl/export>
#include <butl/utility>
namespace butl
{
// Diagnostic facility base infrastructure.
//
- extern std::ostream* diag_stream; // std::cerr by default.
+ LIBBUTL_EXPORT extern std::ostream* diag_stream; // std::cerr by default.
struct diag_record;
template <typename> struct diag_prologue;
@@ -25,7 +26,7 @@ namespace butl
using diag_epilogue = void (const diag_record&);
- struct diag_record
+ struct LIBBUTL_EXPORT diag_record
{
template <typename T>
friend const diag_record&