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.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/p2pvr/lib/mapIterator.cpp b/p2pvr/lib/mapIterator.cpp
new file mode 100644
index 0000000..157669a
--- /dev/null
+++ b/p2pvr/lib/mapIterator.cpp
@@ -0,0 +1,11 @@
+#include <pch.hpp>
+#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;
+}
+