From dfc2fb1cd834f23bc16db48c9f2097d2e6242ead Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 29 Oct 2020 02:00:50 -0400 Subject: add Snowflake ctor for Glib::ustring --- discord/snowflake.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'discord/snowflake.hpp') diff --git a/discord/snowflake.hpp b/discord/snowflake.hpp index bcdaca3..4cfdc35 100644 --- a/discord/snowflake.hpp +++ b/discord/snowflake.hpp @@ -1,11 +1,13 @@ #pragma once #include #include +#include struct Snowflake { Snowflake(); Snowflake(uint64_t n); Snowflake(const std::string &str); + Snowflake(const Glib::ustring &str); bool IsValid() const; -- cgit v1.2.3