xo-gc xo-alloc2: move Collector faceet gc/ -> alloc2/ for levelling
This commit is contained in:
parent
192b162304
commit
b1add3bbff
102 changed files with 192 additions and 172 deletions
|
|
@ -4,6 +4,7 @@
|
|||
**/
|
||||
|
||||
#include "DUniqueString.hpp"
|
||||
#include "DString.hpp"
|
||||
#include <xo/arena/padding.hpp>
|
||||
#include <xo/indentlog/scope.hpp>
|
||||
#include <cstring>
|
||||
|
|
@ -13,6 +14,15 @@ namespace xo {
|
|||
using xo::facet::typeseq;
|
||||
|
||||
namespace scm {
|
||||
int
|
||||
DUniqueString::compare(const DUniqueString & lhs, const DUniqueString & rhs)
|
||||
{
|
||||
if (&lhs == &rhs)
|
||||
return 0;
|
||||
|
||||
return DString::compare(*(lhs._text()), *(rhs._text()));
|
||||
}
|
||||
|
||||
DString *
|
||||
DUniqueString::_text() const noexcept
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue