]> git.tdb.fi Git - libs/core.git/blobdiff - source/debug/backtrace.h
Add move semantics to Variant
[libs/core.git] / source / debug / backtrace.h
index 67cf62fc9c70a8c5a3cefd4f125b5a35cc39d2da..b8e06af27b9c400d1e6f3b741627a0e6e716ee04 100644 (file)
@@ -4,16 +4,17 @@
 #include <ostream>
 #include <string>
 #include <vector>
+#include <msp/core/mspcore_api.h>
 
 namespace Msp {
 namespace Debug {
 
-class Backtrace
+class MSPCORE_API Backtrace
 {
 public:
        struct StackFrame
        {
-               void *address = 0;
+               void *address = nullptr;
                std::string file;
                std::string symbol;
        };
@@ -27,8 +28,8 @@ public:
        static Backtrace create();
 };
 
-std::ostream &operator<<(std::ostream &, const Backtrace &);
-std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &);
+MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace &);
+MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &);
 
 } // namespace Debug
 } // namespace Msp