Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 75d9de3 commit 0b8aaf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions doomsday/libs/core/include/de/data/path.h
Expand Up @@ -113,13 +113,9 @@ class DE_PUBLIC Path : public ISerializable, public LogEntry::Arg::Base
*/
inline operator CString() const { return range; }

/**
* Converts the segment to a string.
*/
// String toString() const;

inline Rangecc toRange() const { return range; }
inline String toString() const { return _key.str; /*String(range);*/ }
inline String toString() const { return _key.str; }
inline CString toCString() const { return range; }

/**
* Determines the length of the segment in characters.
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libs/core/include/de/data/record.h
Expand Up @@ -625,7 +625,7 @@ class DE_PUBLIC Record

// Implements LogEntry::Arg::Base.
LogEntry::Arg::Type logEntryArgType() const { return LogEntry::Arg::StringArgument; }
String asText() const { return asText("", 0); }
String asText() const { return asText("", nullptr); }

/*
* Utility template for initializing a Record with an arbitrary number of
Expand Down

0 comments on commit 0b8aaf3

Please sign in to comment.