From 0aaa98b73ee71d2a542bcb58d9d8144366b5bf16 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Thu, 30 Aug 2012 12:30:11 +0200 Subject: [PATCH] stream: fix headers and missing static keyword --- lib/stream.cpp | 2 ++ lib/stream.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/stream.cpp b/lib/stream.cpp index 2e5072a3..cd2d563e 100644 --- a/lib/stream.cpp +++ b/lib/stream.cpp @@ -1,6 +1,8 @@ /// \file stream.cpp /// Utilities for handling streams. +#include +#include #include "stream.h" #include "procs.h" #include "socket.h" diff --git a/lib/stream.h b/lib/stream.h index e970c848..56650c3b 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -3,12 +3,12 @@ #pragma once #include -#include +#include "socket.h" namespace Util{ class Stream{ /// Sanitize a streamname. - void sanitizeName(std::string & streamname); + static void sanitizeName(std::string & streamname); public: /// Get a connection to a Live stream. static Socket::Connection getLive(std::string streamname);