Clone
ixen
committed
on 19 Nov 20
Adjusted regex matching to take locale under consideration.
src/libchcore/TBufferList.h (+2 -2)
1 1 // ============================================================================
2 2 //  Copyright (C) 2001-2016 by Jozef Starosczyk
3 3 //  ixen@copyhandler.com
4 4 //
5 5 //  This program is free software; you can redistribute it and/or modify
6 6 //  it under the terms of the GNU Library General Public License
7 7 //  (version 2) as published by the Free Software Foundation;
8 8 //
9 9 //  This program is distributed in the hope that it will be useful,
10 10 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 12 //  GNU General Public License for more details.
13 13 //
14 14 //  You should have received a copy of the GNU Library General Public
15 15 //  License along with this program; if not, write to the
16 16 //  Free Software Foundation, Inc.,
17 17 //  59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 18 // ============================================================================
19   #ifndef __TUNORDEREDBUFFERQUEUE_H__
20   #define __TUNORDEREDBUFFERQUEUE_H__
  19 #ifndef __TBUFFERLIST_H__
  20 #define __TBUFFERLIST_H__
21 21
22 22 namespace chcore
23 23 {
24 24         class TOverlappedDataBuffer;
25 25
26 26         class TBufferList
27 27         {
28 28         public:
29 29                 TBufferList();
30 30
31 31                 void Push(TOverlappedDataBuffer* pBuffer);
32 32                 TOverlappedDataBuffer* Pop();
33 33
34 34                 void Clear();
35 35
36 36                 size_t GetCount() const;
37 37                 bool IsEmpty() const;
38 38
39 39         private:
40 40                 std::list<TOverlappedDataBuffer*> m_listBuffers;