summaryrefslogtreecommitdiff
path: root/libs/audiographer/audiographer/throwing.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/audiographer/audiographer/throwing.h')
-rw-r--r--libs/audiographer/audiographer/throwing.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/audiographer/audiographer/throwing.h b/libs/audiographer/audiographer/throwing.h
index eefade1db0..ecf7aecd49 100644
--- a/libs/audiographer/audiographer/throwing.h
+++ b/libs/audiographer/audiographer/throwing.h
@@ -5,6 +5,8 @@
#define DEFAULT_THROW_LEVEL ThrowStrict
#endif
+#include "audiographer/visibility.h"
+
namespace AudioGrapher
{
@@ -14,7 +16,7 @@ namespace AudioGrapher
* However, if you want ultra-optimized code and/or don't care about handling
* error situations, feel free to use whatever you want.
*/
-enum ThrowLevel
+enum /*LIBAUDIOGRAPHER_API*/ ThrowLevel
{
ThrowNone, ///< Not allowed to throw
ThrowObject, ///< Object level stuff, ctors, initalizers etc.
@@ -38,7 +40,7 @@ enum ThrowLevel
* logical and (short-circuiting).
*/
template<ThrowLevel L = DEFAULT_THROW_LEVEL>
-class Throwing
+class /*LIBAUDIOGRAPHER_API*/ Throwing
{
protected:
Throwing() {}