From 0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 24 Sep 2010 23:02:45 +0000 Subject: Bu::StreamStack had a stupidly named function. --- src/streamstack.cpp | 4 ++-- src/streamstack.h | 2 +- src/tests/streamstack.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/streamstack.cpp b/src/streamstack.cpp index c7f8af5..011c721 100644 --- a/src/streamstack.cpp +++ b/src/streamstack.cpp @@ -11,7 +11,7 @@ Bu::StreamStack::StreamStack( Bu::Stream *pStream ) Bu::StreamStack::~StreamStack() { - clearStack(); + clear(); } bool Bu::StreamStack::isEmpty() @@ -32,7 +32,7 @@ void Bu::StreamStack::setStream( Bu::Stream *pStream ) lFilts.prepend( pStream ); } -void Bu::StreamStack::clearStack() +void Bu::StreamStack::clear() { for( FilterList::iterator i = lFilts.begin(); i; i++ ) { diff --git a/src/streamstack.h b/src/streamstack.h index 89e683d..f40a760 100644 --- a/src/streamstack.h +++ b/src/streamstack.h @@ -21,7 +21,7 @@ namespace Bu bool hasStream(); void setStream( Bu::Stream *pStream ); - void clearStack(); + void clear(); void popFilter(); Bu::Stream *getTop(); diff --git a/src/tests/streamstack.cpp b/src/tests/streamstack.cpp index 56a7076..b8c48e7 100644 --- a/src/tests/streamstack.cpp +++ b/src/tests/streamstack.cpp @@ -74,7 +74,7 @@ int main() ds.write(); - ss.clearStack(); + ss.clear(); ss.setStream( new Bu::File("Hello.test", Bu::File::Read ) ); -- cgit v1.2.3