mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
constructor tweek
This commit is contained in:
parent
44a9385936
commit
b1f4406633
@ -12,7 +12,8 @@ INLINE void IPipeStream::flush(void) {
|
||||
_psb.flush();
|
||||
}
|
||||
|
||||
INLINE IPipeStream::IPipeStream(void) : _psb(PipeStreamBuf::Input) {
|
||||
INLINE IPipeStream::IPipeStream(void)
|
||||
: istream(&_psb), _psb(PipeStreamBuf::Input) {
|
||||
cerr << "should never call default constructor of IPipeStream" << endl;
|
||||
}
|
||||
|
||||
@ -25,6 +26,7 @@ INLINE void OPipeStream::flush(void) {
|
||||
_psb.flush();
|
||||
}
|
||||
|
||||
INLINE OPipeStream::OPipeStream(void) : _psb(PipeStreamBuf::Output) {
|
||||
INLINE OPipeStream::OPipeStream(void)
|
||||
: ostream(&_psb), _psb(PipeStreamBuf::Output) {
|
||||
cerr << "should never call default constructor of OPipeStream" << endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user