diff options
-rw-r--r-- | host/include/uhd/property_tree.hpp | 5 | ||||
-rw-r--r-- | host/include/uhd/types/dict.hpp | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/host/include/uhd/property_tree.hpp b/host/include/uhd/property_tree.hpp index b9c6c65aa..7edadcbda 100644 --- a/host/include/uhd/property_tree.hpp +++ b/host/include/uhd/property_tree.hpp @@ -191,11 +191,8 @@ property<T>::~property(void) /*! * FS Path: A glorified string with path manipulations. * Inspired by boost filesystem path, but without the dependency. - * - * Notice: we do not declare UHD_API on the whole structure - * because MSVC will do weird things with std::string and linking. */ -struct fs_path : std::string +struct UHD_API_HEADER fs_path : std::string { UHD_API fs_path(void); UHD_API fs_path(const char*); diff --git a/host/include/uhd/types/dict.hpp b/host/include/uhd/types/dict.hpp index cad0a628b..01f510920 100644 --- a/host/include/uhd/types/dict.hpp +++ b/host/include/uhd/types/dict.hpp @@ -18,7 +18,7 @@ namespace uhd { * A templated dictionary class with a python-like interface. */ template <typename Key, typename Val> -class dict +class UHD_API_HEADER dict { public: /*! |