Skip to content

Commit d161594

Browse files
committed
Fix build
1 parent 1ec8916 commit d161594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/query.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class GameDataDBQuery : public game_data {
4848

4949
bool get_as_bool() const override { return true; }
5050
float get_as_number() const override { return 0.f; }
51-
const r_string& get_as_string() const override { return getQueryString(); }
51+
const r_string& get_as_string() const override { static r_string nm("TODO"sv); return nm; }
5252
game_data* copy() const override { return new GameDataDBQuery(*this); } //#TODO make sure this works
5353
r_string to_string() const override { return getQueryString(); }
5454
//virtual bool equals(const game_data*) const override; //#TODO isEqualTo on hashMaps would be quite nice I guess?

0 commit comments

Comments
 (0)