Switch to unified view

a/upqo/ohpool.h b/upqo/ohpool.h
...
...
16
 */
16
 */
17
#ifndef _OHPOOL_H_INCLUDED_
17
#ifndef _OHPOOL_H_INCLUDED_
18
#define _OHPOOL_H_INCLUDED_
18
#define _OHPOOL_H_INCLUDED_
19
19
20
#include "libupnpp/config.h"
20
#include "libupnpp/config.h"
21
#ifndef UNORDERED_MAP_INCLUDE
21
#include <unordered_map>
22
#define UNORDERED_MAP_INCLUDE <unordered_map>
23
#endif
24
#include UNORDERED_MAP_INCLUDE
25
22
26
#include <vector>
23
#include <vector>
27
24
28
#include "libupnpp/control/cdircontent.hxx"
25
#include "libupnpp/control/cdircontent.hxx"
29
26
30
// Common code for ohplaylist and ohradio: maintain the local cache of
27
// Common code for ohplaylist and ohradio: maintain the local cache of
31
// metadata when the id array changes.
28
// metadata when the id array changes.
32
template <class T>
29
template <class T>
33
bool ohupdmetapool(const std::vector<int>& nids, int curid, 
30
bool ohupdmetapool(const std::vector<int>& nids, int curid, 
34
                   STD_UNORDERED_MAP<int, UPnPClient::UPnPDirObject>& metapool,
31
                   std::unordered_map<int, UPnPClient::UPnPDirObject>& metapool,
35
                   T srv);
32
                   T srv);
36
33
37
#endif /* _OHPOOL_H_INCLUDED_ */
34
#endif /* _OHPOOL_H_INCLUDED_ */