aboutsummaryrefslogtreecommitdiff
path: root/src/rules.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-04-29 14:17:08 -0400
committerYour Name <you@example.com>2021-04-29 14:17:08 -0400
commit5a813a75412ac9b8fadb90c9abd46dd95aee8e9b (patch)
tree75c5466d459c793430a6481cd276a624cd843794 /src/rules.h
parentcd57ad6e208728bafcbc8c7d7b85d88603706978 (diff)
downloaddmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.tar.gz
dmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.tar.bz2
dmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.zip
Removed data files from repo
Diffstat (limited to 'src/rules.h')
-rw-r--r--src/rules.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rules.h b/src/rules.h
index 8b54e8d..3a3ffbc 100644
--- a/src/rules.h
+++ b/src/rules.h
@@ -13,6 +13,7 @@ namespace rules {
public:
string getFull() const {return abilities.at(getAbbrev());}
string getAbbrev() const {return abbrev;}
+ operator string() const {return getAbbrev();}
virtual nlohmann::json toJson(void) const {
return getAbbrev();
}