aboutsummaryrefslogtreecommitdiff
path: root/src/DataView.cpp
blob: a5232f3c9343c40f25c1d1913b3a67671e3a4521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "../include/odhtdb/DataView.hpp"
#include <cstring>

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