mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-23 18:39:55 +00:00
Fix clang error on macOS
note: 'operator<<' should be declared prior to the call site or in namespace 'doc'
This commit is contained in:
parent
7f8df8a08d
commit
0eb9e17caf
@ -25,12 +25,16 @@
|
||||
#include "doc/user_data.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
static std::ostream& operator<<(std::ostream& os, const doc::UserData& userData)
|
||||
namespace doc {
|
||||
|
||||
static std::ostream& operator<<(std::ostream& os, const UserData& userData)
|
||||
{
|
||||
return os << "("
|
||||
<< userData.text() << ", "
|
||||
<< userData.color() << ")";
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace app {
|
||||
|
Loading…
x
Reference in New Issue
Block a user