summaryrefslogtreecommitdiff
path: root/p2pvr/lib/mapIterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/mapIterator.cpp')
-rw-r--r--p2pvr/lib/mapIterator.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/p2pvr/lib/mapIterator.cpp b/p2pvr/lib/mapIterator.cpp
new file mode 100644
index 0000000..5f0fbb0
--- /dev/null
+++ b/p2pvr/lib/mapIterator.cpp
@@ -0,0 +1,10 @@
+#include "mapIterator.h"
+#include "p2Helpers.h"
+
+template<>
+void BindColumns<std::pair<unsigned short const, unsigned short>>(RowState & rs, std::pair<unsigned short const, unsigned short> const & p)
+{
+ rs.fields[0] << p.first;
+ rs.fields[1] << p.second;
+}
+