mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor RippleCalc.cpp:
* Add comments * Restrict code to 80 colums * Remove boost::format * Remove BOOST_FOREACH * Make members private * Add ripple_unordered_set to UnorderedContainers.h * Replace boost::unordered_set with ripple::unordered_set
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#ifndef RIPPLE_SITEFILES_LOGIC_H_INCLUDED
|
||||
#define RIPPLE_SITEFILES_LOGIC_H_INCLUDED
|
||||
|
||||
#include "../../common/UnorderedMap.h"
|
||||
#include "../../common/UnorderedContainers.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -32,7 +32,7 @@ Config file format:
|
||||
|
||||
Syntactically a series of lines, where line has this format:
|
||||
[ <vertical whitespace> ] <anything> ( <vertical-whitespace> OR <end-of-file> )
|
||||
|
||||
|
||||
Semantically a series of of zero or more sections, where each section
|
||||
has a name and optional data. Specifically, the format:
|
||||
( <start-of-file> OR <header> ) <data>
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
void addURL (std::string const& urlstr)
|
||||
{
|
||||
beast::ParsedURL const p (urlstr);
|
||||
|
||||
|
||||
if (p.error())
|
||||
{
|
||||
m_journal.error <<
|
||||
|
||||
Reference in New Issue
Block a user