aboutsummaryrefslogtreecommitdiff
path: root/extension/src/Utilities.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-05-24 12:32:37 +0200
committer GitHub <noreply@github.com>2023-05-24 12:32:37 +0200
commit0a1a50cde54fee469bc0069978cd27a2bd1a2fb0 (patch)
tree2ba58efbe0ff3cfdc6f73b7a9e0bfab399d5e0d3 /extension/src/Utilities.hpp
parentac36a373139e3e815f70720b37d4ffc8d9062df9 (diff)
parentd6db91738ceee5cce9e7b7efc32bec89a83fa790 (diff)
Merge pull request #124 from OpenVicProject/bug-fixes
Date fix + string fix + Logger queue
Diffstat (limited to 'extension/src/Utilities.hpp')
-rw-r--r--extension/src/Utilities.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/extension/src/Utilities.hpp b/extension/src/Utilities.hpp
index 16193e8..75e873f 100644
--- a/extension/src/Utilities.hpp
+++ b/extension/src/Utilities.hpp
@@ -8,12 +8,8 @@
namespace OpenVic {
- inline char const* godot_to_c_string(godot::String const& str) {
- return str.ascii().get_data();
- }
-
inline std::string godot_to_std_string(godot::String const& str) {
- return godot_to_c_string(str);
+ return str.ascii().get_data();
}
inline godot::String std_to_godot_string(std::string const& str) {