From 40a645f35582991b97e867a8a87b28693df6e57d Mon Sep 17 00:00:00 2001 From: Manolis Surligas Date: Sat, 24 Nov 2018 00:25:03 +0200 Subject: [PATCH] Fix boost `common_factor` deprecation warning --- lib/cw_to_symbol_impl.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/cw_to_symbol_impl.cc b/lib/cw_to_symbol_impl.cc index abcf226..1b36921 100644 --- a/lib/cw_to_symbol_impl.cc +++ b/lib/cw_to_symbol_impl.cc @@ -2,7 +2,7 @@ /* * gr-satnogs: SatNOGS GNU Radio Out-Of-Tree Module * - * Copyright (C) 2016,2017 + * Copyright (C) 2016-2018 * Libre Space Foundation * * This program is free software: you can redistribute it and/or modify @@ -23,12 +23,18 @@ #include "config.h" #endif +#include "cw_to_symbol_impl.h" + #include #include #include #include -#include -#include "cw_to_symbol_impl.h" +#include +#if BOOST_VERSION >= 106500 + #include +#else + #include +#endif #include namespace gr