[vlc-devel] [PATCH 1/2] SDIStream: Fix missing include
Jean-Baptiste Kempf
jb at videolan.org
Thu Sep 6 22:40:46 CEST 2018
LGTM.
On Thu, 6 Sep 2018, at 22:16, Devin Heitmueller wrote:
> The header refers to a std::string while not actually including the
> C++ string class. This manifests as the following error seen on OSX:
>
> DBMSDIOutput.cpp:75:38: error: implicit instantiation undefined
> template 'std::__1::basic_string<char, std::__1::char_traits<char>,
> std::__1::allocator<char> >
>
> Add in the missing header.
>
> Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
> ---
> modules/stream_out/sdi/SDIStream.hpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/modules/stream_out/sdi/SDIStream.hpp b/modules/stream_out/
> sdi/SDIStream.hpp
> index a09697fca0..668009ce50 100644
> --- a/modules/stream_out/sdi/SDIStream.hpp
> +++ b/modules/stream_out/sdi/SDIStream.hpp
> @@ -26,6 +26,7 @@
> #include <vlc_codec.h>
> #include <queue>
> #include <mutex>
> +#include <string>
>
> namespace sdi_sout
> {
> --
> 2.13.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel
mailing list