Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
15a4246e
Commit
15a4246e
authored
Jan 04, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Client, Inotify: use std::list instead of std::deque
Random access is not necessary here.
parent
9a718457
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ClientInternal.hxx
src/ClientInternal.hxx
+2
-2
InotifyQueue.cxx
src/InotifyQueue.cxx
+2
-2
No files found.
src/ClientInternal.hxx
View file @
15a4246e
...
...
@@ -27,7 +27,7 @@
#include <set>
#include <string>
#include <
deque
>
#include <
list
>
#include <glib.h>
...
...
@@ -97,7 +97,7 @@ public:
/**
* A list of messages this client has received.
*/
std
::
deque
<
ClientMessage
>
messages
;
std
::
list
<
ClientMessage
>
messages
;
Client
(
struct
player_control
*
player_control
,
int
fd
,
int
uid
,
int
num
);
...
...
src/InotifyQueue.cxx
View file @
15a4246e
...
...
@@ -21,7 +21,7 @@
#include "InotifyQueue.hxx"
#include "UpdateGlue.hxx"
#include <
deque
>
#include <
list
>
#include <string>
#include <glib.h>
...
...
@@ -40,7 +40,7 @@ enum {
INOTIFY_UPDATE_DELAY_S
=
5
,
};
static
std
::
deque
<
std
::
string
>
inotify_queue
;
static
std
::
list
<
std
::
string
>
inotify_queue
;
static
guint
queue_source_id
;
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment