[node] code review cleanup
This commit is contained in:
committed by
John Firebaugh
parent
4ae4325c81
commit
f4d394d935
@@ -1,4 +1,3 @@
|
||||
|
||||
#include <mbgl/platform/default/headless_view.hpp>
|
||||
#include <mbgl/platform/default/headless_display.hpp>
|
||||
#include <mbgl/platform/log.hpp>
|
||||
@@ -108,7 +107,7 @@ void HeadlessView::createContext() {
|
||||
#endif
|
||||
}
|
||||
|
||||
bool HeadlessView::isActive() {
|
||||
bool HeadlessView::isActive() const {
|
||||
return std::this_thread::get_id() == thread;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user