mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-23 01:26:19 +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_1 = 0xbbU;
|
||||||
static const unsigned char TIXML_UTF_LEAD_2 = 0xbfU;
|
static const unsigned char TIXML_UTF_LEAD_2 = 0xbfU;
|
||||||
|
|
||||||
namespace rpc // rtorrent-specific namespace
|
namespace rpc::tinyxml2 // rpc is a rtorrent-specific namespace
|
||||||
{
|
|
||||||
namespace tinyxml2
|
|
||||||
{
|
{
|
||||||
|
|
||||||
struct Entity {
|
struct Entity {
|
||||||
@@ -3029,6 +3027,5 @@ bool XMLPrinter::Visit( const XMLUnknown& unknown )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace tinyxml2
|
} // namespace rpc::tinyxml2
|
||||||
} // namespace rpc
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -113,9 +113,7 @@ static const int TIXML2_PATCH_VERSION = 0;
|
|||||||
// so there needs to be a limit in place.
|
// so there needs to be a limit in place.
|
||||||
static const int TINYXML2_MAX_ELEMENT_DEPTH = 500;
|
static const int TINYXML2_MAX_ELEMENT_DEPTH = 500;
|
||||||
|
|
||||||
namespace rpc // rtorrent-specific namespace
|
namespace rpc::tinyxml2 // rpc is a rtorrent-specific namespace
|
||||||
{
|
|
||||||
namespace tinyxml2
|
|
||||||
{
|
{
|
||||||
class XMLDocument;
|
class XMLDocument;
|
||||||
class XMLElement;
|
class XMLElement;
|
||||||
@@ -2378,8 +2376,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
} // namespace tinyxml2
|
} // namespace rpc::tinyxml2
|
||||||
} // namespace rpc
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# pragma warning(pop)
|
# pragma warning(pop)
|
||||||
|
|||||||
Reference in New Issue
Block a user