diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-25 08:56:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-25 08:56:48 +0200 |
commit | 098559ca3552ebd8f80a6d28254f4fa58913b751 (patch) | |
tree | 1eb6f65b492d3217a380a909f6810a5f3e00cc37 /butl/utility | |
parent | 6c8e3f09c185d7fa4664ccd9e5c4f623a17b84cc (diff) |
Add DLL export/import support
Diffstat (limited to 'butl/utility')
-rw-r--r-- | butl/utility | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/butl/utility b/butl/utility index efbb13b..2436616 100644 --- a/butl/utility +++ b/butl/utility @@ -9,11 +9,13 @@ #include <utility> // forward() #include <cstring> // strcmp +#include <butl/export> + namespace butl { // Key comparators (i.e., to be used in sets, maps, etc). // - struct compare_c_string + struct LIBBUTL_EXPORT compare_c_string { bool operator() (const char* x, const char* y) const { @@ -21,7 +23,7 @@ namespace butl } }; - struct compare_pointer_target + struct LIBBUTL_EXPORT compare_pointer_target { template <typename P> bool operator() (const P& x, const P& y) const {return *x < *y;} |