iOS: fix app id in path, pen pressure filtering on Line
This commit is contained in:
@@ -74,6 +74,7 @@ std::string unescape(const std::string& s);
|
||||
std::wstring str2wstr(const std::string& str);
|
||||
std::string wstr2str(const std::wstring& wstr);
|
||||
bool str_iequals(const std::string& a, const std::string& b);
|
||||
std::string str_replace(const std::string& string, const std::string& search, const std::string& replace);
|
||||
|
||||
size_t curl_data_handler(void *contents, size_t size, size_t nmemb, void *userp);
|
||||
size_t curl_data_write(void *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||
@@ -181,7 +182,7 @@ public:
|
||||
post_cv.wait(lock, [&]() { return unlocked | (q.size() < Max); });
|
||||
if (q.size() >= Max) return;
|
||||
}
|
||||
if (std::find(q.begin(), q.end(), pkt) == q.end());
|
||||
if (std::find(q.begin(), q.end(), pkt) == q.end())
|
||||
top ? q.push_front(pkt) : q.push_back(pkt);
|
||||
get_cv.notify_one();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user