Fix compilation error with undefined shared_ptr

`std::shared_ptr` requires `<memory>` header. Without it being
included explicitly some compilers might fail to compile (while
others might have been using the header indirectly).

Fixes compilation error with GCC 12 on Raspberry Pi OS.
pull/146/head
Sergey Sharybin 2023-10-21 11:34:18 +01:00
rodzic 72946535f8
commit a6a8a005a2
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -20,6 +20,7 @@
#include <ostream>
#include <iostream>
#include <thread>
#include <memory>
#include <mutex>
#include <functional>