Browse Source

Added warning to String class

- added warning for returning stack based const
char*
Patrick 3 years ago
parent
commit
79f94957bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      source/boxing/String.hpp

+ 2 - 2
source/boxing/String.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2020-08-16
+ * Changed:         2020-08-18
  *
  * */
 
@@ -24,7 +24,7 @@ namespace ls_std {
 
       // conversion operator
 
-      operator const char*() const; // do not make explicit!
+      operator const char*() const; // do not make explicit! FIXME: is that save?
       operator std::string() const; // do not make explicit!
 
       // assignment operators