Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'geometry/pointu_to_uint64.hpp')
-rw-r--r--geometry/pointu_to_uint64.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/geometry/pointu_to_uint64.hpp b/geometry/pointu_to_uint64.hpp
deleted file mode 100644
index 3ea17330cf..0000000000
--- a/geometry/pointu_to_uint64.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-#include "base/assert.hpp"
-#include "base/base.hpp"
-#include "base/bits.hpp"
-#include "geometry/point2d.hpp"
-
-namespace m2
-{
-
-inline PointU Uint64ToPointU(int64_t v)
-{
- PointU res;
- bits::BitwiseSplit(v, res.x, res.y);
- return res;
-}
-
-inline uint64_t PointUToUint64(PointU const & pt)
-{
- uint64_t const res = bits::BitwiseMerge(pt.x, pt.y);
- ASSERT_EQUAL(pt, Uint64ToPointU(res), ());
- return res;
-}
-
-} // namespace m2