mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-24 08:21:35 +00:00
Don't include ostream in rdcstr.h
* It's only needed for renderdoccmd and catch tests, so define it locally where needed.
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
// special type for storing literals. This allows functions to force callers to pass them literals
|
||||
@@ -769,11 +768,6 @@ inline bool operator!=(const std::string &left, const rdcstr &right)
|
||||
return right != left;
|
||||
}
|
||||
|
||||
inline std::ostream &operator<<(std::ostream &os, rdcstr const &str)
|
||||
{
|
||||
return os << str.c_str();
|
||||
}
|
||||
|
||||
#if defined(RENDERDOC_QT_COMPAT)
|
||||
inline rdcstr operator+(const QString &left, const rdcstr &right)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user