diff options
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-std-writers.cpp | 8 | ||||
| -rw-r--r-- | source/core/slang-std-writers.h | 5 |
2 files changed, 1 insertions, 12 deletions
diff --git a/source/core/slang-std-writers.cpp b/source/core/slang-std-writers.cpp index 8b2f6f604..bf3ae72fd 100644 --- a/source/core/slang-std-writers.cpp +++ b/source/core/slang-std-writers.cpp @@ -30,13 +30,5 @@ namespace Slang return defaults; } -void StdWriters::setRequestWriters(SlangCompileRequest* request) -{ - for (int i = 0; i < SLANG_WRITER_CHANNEL_COUNT_OF; ++i) - { - spSetWriter(request, SlangWriterChannel(i), m_writers[i]); - } -} - } diff --git a/source/core/slang-std-writers.h b/source/core/slang-std-writers.h index 8ecb89227..d193bfe0c 100644 --- a/source/core/slang-std-writers.h +++ b/source/core/slang-std-writers.h @@ -12,12 +12,9 @@ class StdWriters: public RefObject { public: - ISlangWriter * getWriter(SlangWriterChannel chan) const { return m_writers[chan]; } + ISlangWriter* getWriter(SlangWriterChannel chan) const { return m_writers[chan]; } void setWriter(SlangWriterChannel chan, ISlangWriter* writer) { m_writers[chan] = writer; } - /// Set the writers on the SlangCompileRequest - void setRequestWriters(SlangCompileRequest* request); - /// Ctor StdWriters() {} |
