aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-09-24 23:02:45 +0000
committerMike Buland <eichlan@xagasoft.com>2010-09-24 23:02:45 +0000
commit0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb (patch)
tree2ec2ad7d2d91c5c49b8c040a6edeccae7ac74f1c /src
parentd210c301bc3e8867cad883e80663208474cc1ea5 (diff)
downloadlibbu++-0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb.tar.gz
libbu++-0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb.tar.bz2
libbu++-0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb.tar.xz
libbu++-0bb8c5962e93fae4a2542d57efe8e87d30d8f0fb.zip
Bu::StreamStack had a stupidly named function.
Diffstat (limited to 'src')
-rw-r--r--src/streamstack.cpp4
-rw-r--r--src/streamstack.h2
-rw-r--r--src/tests/streamstack.cpp2
3 files changed, 4 insertions, 4 deletions
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 )
11 11
12Bu::StreamStack::~StreamStack() 12Bu::StreamStack::~StreamStack()
13{ 13{
14 clearStack(); 14 clear();
15} 15}
16 16
17bool Bu::StreamStack::isEmpty() 17bool Bu::StreamStack::isEmpty()
@@ -32,7 +32,7 @@ void Bu::StreamStack::setStream( Bu::Stream *pStream )
32 lFilts.prepend( pStream ); 32 lFilts.prepend( pStream );
33} 33}
34 34
35void Bu::StreamStack::clearStack() 35void Bu::StreamStack::clear()
36{ 36{
37 for( FilterList::iterator i = lFilts.begin(); i; i++ ) 37 for( FilterList::iterator i = lFilts.begin(); i; i++ )
38 { 38 {
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
21 bool hasStream(); 21 bool hasStream();
22 void setStream( Bu::Stream *pStream ); 22 void setStream( Bu::Stream *pStream );
23 23
24 void clearStack(); 24 void clear();
25 void popFilter(); 25 void popFilter();
26 Bu::Stream *getTop(); 26 Bu::Stream *getTop();
27 27
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()
74 74
75 ds.write(); 75 ds.write();
76 76
77 ss.clearStack(); 77 ss.clear();
78 78
79 ss.setStream( new Bu::File("Hello.test", Bu::File::Read ) ); 79 ss.setStream( new Bu::File("Hello.test", Bu::File::Read ) );
80 80