summaryrefslogtreecommitdiff
path: root/src/mbgl/util/clip_id.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/clip_id.hpp')
-rw-r--r--src/mbgl/util/clip_id.hpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/mbgl/util/clip_id.hpp b/src/mbgl/util/clip_id.hpp
deleted file mode 100644
index de2dc51919..0000000000
--- a/src/mbgl/util/clip_id.hpp
+++ /dev/null
@@ -1,34 +0,0 @@
-#pragma once
-
-#include <bitset>
-#include <string>
-#include <list>
-#include <set>
-#include <vector>
-#include <forward_list>
-#include <iosfwd>
-#include <map>
-
-namespace mbgl {
-
-struct ClipID {
- ClipID() {}
- ClipID(const std::string &mask_, const std::string &reference_) : mask(mask_), reference(reference_) {}
-
- std::bitset<8> mask;
- std::bitset<8> reference;
-
- bool operator==(const ClipID &other) const {
- return mask == other.mask && reference == other.reference;
- }
-
- ClipID& operator|=(const ClipID &other) {
- mask |= other.mask;
- reference |= other.reference;
- return *this;
- }
-};
-
-::std::ostream& operator<<(::std::ostream& os, const ClipID& rhs);
-
-} // namespace mbgl