File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
include/cppcore/Container Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
28
namespace cppcore {
29
29
30
30
// -------------------------------------------------------------------------------------------------
31
- // / @class TQueue
32
- // / @ingroup CPPCore
31
+ // / @class TQueue
32
+ // / @ingroup CPPCore
33
33
// /
34
- // / @brief This template class implements a simple queue ( works FIFO ).
34
+ // / @brief This template class implements a simple queue ( works FIFO ).
35
35
// -------------------------------------------------------------------------------------------------
36
36
template <class T , class TAlloc = TDefaultAllocator<T>>
37
37
class TQueue {
@@ -41,7 +41,7 @@ class TQueue {
41
41
42
42
// / @brief The class copy constructor.
43
43
// / @param rhs [in] The instance to copy from.
44
- TQueue ( const TQueue<T, TAlloc> &rhs );
44
+ TQueue (const TQueue<T, TAlloc> &rhs );
45
45
46
46
// / @brief The destructor.
47
47
~TQueue ();
@@ -109,9 +109,9 @@ inline bool TQueue<T, TAlloc>::dequeue( T &item ) {
109
109
m_QueueData.removeFront ();
110
110
if ( isEmpty () ) {
111
111
return false ;
112
- } else {
113
- return true ;
114
- }
112
+ }
113
+
114
+ return true ;
115
115
}
116
116
117
117
template <class T , class TAlloc >
You can’t perform that action at this time.
0 commit comments