mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
newlines at end of all files #references #72
This commit is contained in:
@@ -96,4 +96,4 @@ namespace wscmd {
|
||||
}
|
||||
} // namespace wscmd
|
||||
|
||||
#endif // WSCMD_HPP
|
||||
#endif // WSCMD_HPP
|
||||
|
||||
@@ -53,4 +53,4 @@ void echo_client_handler::on_message(session_ptr s,const std::string &msg) {
|
||||
void echo_client_handler::on_message(session_ptr s,
|
||||
const std::vector<unsigned char> &data) {
|
||||
s->send(data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ BOOST_LIB_PATH ?= /usr/local/lib
|
||||
BOOST_INCLUDE_PATH ?= /usr/local/include
|
||||
CPP11 ?=
|
||||
|
||||
CFLAGS = -O2 $(CPP11) -I$(BOOST_INCLUDE_PATH)
|
||||
CFLAGS = -Wall -O2 $(CPP11) -I$(BOOST_INCLUDE_PATH)
|
||||
LDFLAGS = -L$(BOOST_LIB_PATH)
|
||||
|
||||
CXX ?= c++
|
||||
|
||||
@@ -120,4 +120,4 @@ std::string base64_decode(std::string const& encoded_string) {
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <string>
|
||||
|
||||
std::string base64_encode(unsigned char const* , unsigned int len);
|
||||
std::string base64_decode(std::string const& s);
|
||||
std::string base64_decode(std::string const& s);
|
||||
|
||||
@@ -63,4 +63,4 @@ inline std::string md5_hash_hex(const std::string& input) {
|
||||
|
||||
} // websocketpp
|
||||
|
||||
#endif // WEBSOCKETPP_MD5_WRAPPER_HPP
|
||||
#endif // WEBSOCKETPP_MD5_WRAPPER_HPP
|
||||
|
||||
@@ -253,4 +253,4 @@ typedef boost::intrusive_ptr<data> data_ptr;
|
||||
} // namespace message
|
||||
} // namespace websocketpp
|
||||
|
||||
#endif // WEBSOCKET_DATA_MESSAGE_HPP
|
||||
#endif // WEBSOCKET_DATA_MESSAGE_HPP
|
||||
|
||||
@@ -92,4 +92,4 @@ std::string to_hex(const std::string& input) {
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -287,4 +287,4 @@ void hybi_header::clear_masking_key() {
|
||||
// this is a no-op as clearing the mask bit also changes the get_header_len
|
||||
// method to not include these byte ranges. Whenever the masking bit is re-
|
||||
// set a new key is generated anyways.
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ boost_rng::boost_rng() : m_gen(m_rng,
|
||||
|
||||
int32_t boost_rng::gen() {
|
||||
return m_gen();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,4 +87,4 @@ inline bool validate(const std::string& s) {
|
||||
|
||||
} // namespace utf8_validator
|
||||
|
||||
#endif // UTF8_VALIDATOR_HPP
|
||||
#endif // UTF8_VALIDATOR_HPP
|
||||
|
||||
Reference in New Issue
Block a user