aboutsummaryrefslogtreecommitdiff
path: root/src/DataView.cpp
blob: 63c4f0728151c00984edc6312c6ef1aaf8d1f22a (plain)
1
2
3
4
5
6
7
8
9
10
#include "../include/DataView.hpp"
#include <cstring>

namespace odhtdb
{
    bool DataView::operator == (const DataView &other) const
    {
        return size == other.size && memcmp(data, other.data, size) == 0;
    }
}