[node] code review cleanup

This commit is contained in:
Mike Morris
2015-12-08 13:37:04 -08:00
committed by John Firebaugh
parent 4ae4325c81
commit f4d394d935
5 changed files with 23 additions and 26 deletions

View File

@@ -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;
}