File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ namespace cpptrace {
166
166
167
167
std::string to_string () const ;
168
168
std::string to_string (bool color) const ;
169
- friend std::ostream& operator <<(std::ostream& stream, const stacktrace_frame& frame);
169
+ friend CPPTRACE_EXPORT std::ostream& operator <<(std::ostream& stream, const stacktrace_frame& frame);
170
170
};
171
171
172
172
struct CPPTRACE_EXPORT stacktrace {
@@ -182,7 +182,7 @@ namespace cpptrace {
182
182
void clear ();
183
183
bool empty () const noexcept ;
184
184
std::string to_string (bool color = false ) const ;
185
- friend std::ostream& operator <<(std::ostream& stream, const stacktrace& trace);
185
+ friend CPPTRACE_EXPORT std::ostream& operator <<(std::ostream& stream, const stacktrace& trace);
186
186
187
187
using iterator = std::vector<stacktrace_frame>::iterator;
188
188
using const_iterator = std::vector<stacktrace_frame>::const_iterator;
You can’t perform that action at this time.
0 commit comments