Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small issues to make compilable the policy-refactor branch under Windows #49

Closed
megabyte1024 opened this issue Jan 13, 2012 · 0 comments

Comments

@megabyte1024
Copy link

diff --git a/src/rng/boost_rng.cpp b/src/rng/boost_rng.cpp

  • boost::random::uniform_int_distribution<>(INT32_MIN,INT32_MAX)); {}
  • boost::random::uniform_int_distribution<>(INT32_MIN,INT32_MAX)) {}

diff --git a/src/processors/hybi_header.cpp b/src/processors/hybi_header.cpp

-void hybi_header::set_opcode(frame::opcode::value op) {
+void hybi_header::set_opcode(websocketpp::frame::opcode::value op) {

diff --git a/src/processors/hybi_header.hpp b/src/processors/hybi_header.hpp

  • void set_opcode(frame::opcode::value op);
  • void set_opcode(websocketpp::frame::opcode::value op);

diff --git a/src/messages/data.cpp b/src/messages/data.cpp

  •    m_payload.reserve(std::max(new_size,static_cast<uint64_t>(2*m_payload.capacity())));
    
  •    m_payload.reserve(std::max<uint64_t>(new_size, static_cast<uint64_t>(2*m_payload.capacity())));
    

-void data::reset(frame::opcode::value opcode) {
+void data::reset(websocketpp::frame::opcode::value opcode) {

diff --git a/src/messages/data.hpp b/src/messages/data.hpp

  • void reset(frame::opcode::value opcode);
  • void reset(websocketpp::frame::opcode::value opcode);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants