mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
minor refactor
This commit is contained in:
parent
d2b4e096ae
commit
cefa26b497
2 changed files with 4 additions and 4 deletions
|
|
@ -53,11 +53,11 @@ namespace xml {
|
|||
/// @brief Get element tag
|
||||
const std::string& getTag() const;
|
||||
|
||||
inline bool isText() const {
|
||||
bool isText() const {
|
||||
return getTag() == "#";
|
||||
}
|
||||
|
||||
inline const std::string& text() const {
|
||||
const std::string& getInnerText() const {
|
||||
return attr("#").getText();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue