ports/benchmarks/postal/files/patch-bhmusers.h
Rodrigo Osorio 2cf1aff496 benchmarks/postal: update to 0.76
Major changes:
    * Fix buffer underrun
    * Add -b option to bind to an address to bhm
    * Improve build

Port changes:
    * Update MASTER_SITE and WWW
2023-09-15 10:57:44 +02:00

20 lines
415 B
C++

--- bhmusers.h.orig 2016-06-30 08:57:25 UTC
+++ bhmusers.h
@@ -6,7 +6,7 @@
#include <string>
#include "conf.h"
-#include <tr1/unordered_map>
+#include <unordered_map>
#include "postal.h"
@@ -18,7 +18,7 @@
int sync_time;
} BHM_DATA;
-typedef std::tr1::unordered_map<string, BHM_DATA, hash<string> > NAME_MAP;
+typedef std::unordered_map<string, BHM_DATA, hash<string> > NAME_MAP;
class BHMUsers
{