mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
6 lines
204 B
C++
6 lines
204 B
C++
#include "base/thread_checker.hpp"
|
|
|
|
ThreadChecker::ThreadChecker() : m_id(std::this_thread::get_id()) {}
|
|
|
|
bool ThreadChecker::CalledOnOriginalThread() const { return std::this_thread::get_id() == m_id; }
|