diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index 77096e7..2998704 100644 --- a/src/utils.h +++ b/src/utils.h @@ -98,7 +98,7 @@ namespace utils { template<typename F, typename T> std::vector<std::shared_ptr<T>> castPtrs(std::vector<std::shared_ptr<F>> from) { std::vector<std::shared_ptr<T>> Ts; for(std::shared_ptr<F> f : from) { - std::shared_ptr<T> t = dynamic_pointer_cast<T>(f); + std::shared_ptr<T> t = std::dynamic_pointer_cast<T>(f); if(t) { Ts.push_back(t); } |