summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-09-15 14:55:32 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-09-15 14:55:32 +0300
commit10b7c8d07f0c68613e29acecc334ea2d345d8ca3 (patch)
treeb569edf9fc385da5b14d4871699d1e470e06f3ff /indra
parentd6c8d3dca8cad5d904d3fd4d6eb85ef2a76c0931 (diff)
STORM-1577 WIP Trying to fix a Windows compiler error in unit tests.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/tests/lltranslate_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/tests/lltranslate_test.cpp b/indra/newview/tests/lltranslate_test.cpp
index 0f3429b7b3..da11b8394a 100644
--- a/indra/newview/tests/lltranslate_test.cpp
+++ b/indra/newview/tests/lltranslate_test.cpp
@@ -316,7 +316,8 @@ LLCurl::Responder::~Responder() {}
void LLHTTPClient::get(const std::string&, const LLSD&, ResponderPtr, const LLSD&, const F32) {}
void LLHTTPClient::get(const std::string&, boost::intrusive_ptr<LLCurl::Responder>, const LLSD&, const F32) {}
-LLBufferStream::LLBufferStream(const LLChannelDescriptors& channels, LLBufferArray* buffer) : mStreamBuf(channels, buffer) {}
+LLBufferStream::LLBufferStream(const LLChannelDescriptors& channels, LLBufferArray* buffer)
+: std::iostream(&mStreamBuf), mStreamBuf(channels, buffer) {}
LLBufferStream::~LLBufferStream() {}
LLBufferStreamBuf::LLBufferStreamBuf(const LLChannelDescriptors&, LLBufferArray*) {}