Browse files

fixes server.proto.h

  • Loading branch information...
1 parent c19a01e commit b0f7ce8263194dbfa92d10ae75849e676e77c067 @frsyuki frsyuki committed Dec 14, 2010
Showing with 5 additions and 4 deletions.
  1. +5 −0 src/logic/server.proto.h
  2. +0 −4 src/logic/server/mod_replace_stream.cc
View
5 src/logic/server.proto.h
@@ -275,6 +275,11 @@ struct replicate_flags : msgtype::flags_base {
void init_stream(int lsock);
void stop_stream();
+ size_t accum_set_size() const
+ {
+ return m_accum_set.size();
+ }
+
private:
class stream_accumulator;
typedef mp::shared_ptr<stream_accumulator> shared_stream_accumulator;
View
4 src/logic/server/mod_replace_stream.cc
@@ -53,10 +53,6 @@ void mod_replace_stream_t::stop_stream()
m_stream_core->end();
}
-unsigned long mod_replace_stream_t::accum_set_size() {
- return m_accum_set.size();
-}
-
class mod_replace_stream_t::stream_accumulator {
public:
stream_accumulator(const std::string& basename,

0 comments on commit b0f7ce8

Please sign in to comment.