mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 02:32:32 +00:00
Use single namespace statement
This commit is contained in:
@@ -133,9 +133,7 @@ static const unsigned char TIXML_UTF_LEAD_0 = 0xefU;
|
||||
static const unsigned char TIXML_UTF_LEAD_1 = 0xbbU;
|
||||
static const unsigned char TIXML_UTF_LEAD_2 = 0xbfU;
|
||||
|
||||
namespace rpc // rtorrent-specific namespace
|
||||
{
|
||||
namespace tinyxml2
|
||||
namespace rpc::tinyxml2 // rpc is a rtorrent-specific namespace
|
||||
{
|
||||
|
||||
struct Entity {
|
||||
@@ -3029,6 +3027,5 @@ bool XMLPrinter::Visit( const XMLUnknown& unknown )
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace tinyxml2
|
||||
} // namespace rpc
|
||||
} // namespace rpc::tinyxml2
|
||||
#endif
|
||||
|
||||
@@ -113,9 +113,7 @@ static const int TIXML2_PATCH_VERSION = 0;
|
||||
// so there needs to be a limit in place.
|
||||
static const int TINYXML2_MAX_ELEMENT_DEPTH = 500;
|
||||
|
||||
namespace rpc // rtorrent-specific namespace
|
||||
{
|
||||
namespace tinyxml2
|
||||
namespace rpc::tinyxml2 // rpc is a rtorrent-specific namespace
|
||||
{
|
||||
class XMLDocument;
|
||||
class XMLElement;
|
||||
@@ -2378,8 +2376,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
} // namespace tinyxml2
|
||||
} // namespace rpc
|
||||
} // namespace rpc::tinyxml2
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
|
||||
Reference in New Issue
Block a user