Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
メソッドが受け取った値に対してスレッドが処理を行っているメソッドが必要です。実行メソッドで処理した後、メソッドが値を返すことができるように値を保存する必要があります
の代わりにAsyncTaskを使用する必要がありThreadます。これについての良いチュートリアルは次のとおりです。
Thread
完全なエラー メッセージ:
error: conversion from 'void' to non-scalar type 'std::vector<std::basic_string<char, std::char_t