logd: log buffer switch to std::list

(cherry pick from commit 94a89c42fe)

Bug: 23350706
Bug: 23327476
Change-Id: Ib0530b9dd5842c6d05c84d7a66f2531c97461067
This commit is contained in:
Mark Salyzyn 2015-08-19 13:41:51 -07:00
parent dc1c936139
commit c2f7eee26b
1 changed files with 3 additions and 2 deletions

View File

@ -19,9 +19,10 @@
#include <sys/types.h>
#include <list>
#include <log/log.h>
#include <sysutils/SocketClient.h>
#include <utils/List.h>
#include <private/android_filesystem_config.h>
@ -30,7 +31,7 @@
#include "LogStatistics.h"
#include "LogWhiteBlackList.h"
typedef android::List<LogBufferElement *> LogBufferElementCollection;
typedef std::list<LogBufferElement *> LogBufferElementCollection;
class LogBuffer {
LogBufferElementCollection mLogElements;