Skip to content

Commit

Permalink
export PanicStream since it's a public API
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflinger committed Jun 5, 2024
1 parent 68c7a6c commit d102252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/utils/include/utils/Panic.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ struct Voidify final {
void operator&&(const T&) const&& {}
};

class PanicStream {
class UTILS_PUBLIC PanicStream {
public:
PanicStream(
char const* function,
Expand Down
5 changes: 4 additions & 1 deletion libs/utils/include/utils/sstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
#ifndef TNT_UTILS_SSTREAM_H
#define TNT_UTILS_SSTREAM_H

#include <utils/compiler.h>
#include <utils/ostream.h>

#include <stddef.h>

namespace utils::io {

class sstream : public ostream {
class UTILS_PUBLIC sstream : public ostream {
public:
ostream& flush() noexcept override;
const char* c_str() const noexcept;
Expand Down

0 comments on commit d102252

Please sign in to comment.