fix(userspace/falco): solve minor compilation flaws

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2023-02-22 15:40:42 +00:00
committed by poiana
parent ee7fa1cb06
commit e40369648c
2 changed files with 7 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
#pragma once
#include <mutex>
#include <atomic>
#include <functional>

View File

@@ -26,7 +26,12 @@ limitations under the License.
class falco_webserver
{
public:
falco_webserver() = default;
virtual ~falco_webserver();
falco_webserver(falco_webserver&&) = default;
falco_webserver& operator = (falco_webserver&&) = default;
falco_webserver(const falco_webserver&) = delete;
falco_webserver& operator = (const falco_webserver&) = delete;
virtual void start(
const std::shared_ptr<sinsp>& inspector,
uint32_t threadiness,