Add const to String::Empty
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#include "StringView.h"
|
#include "StringView.h"
|
||||||
#include "Engine/Core/Collections/Array.h"
|
#include "Engine/Core/Collections/Array.h"
|
||||||
|
|
||||||
String String::Empty;
|
const String String::Empty;
|
||||||
|
|
||||||
String::String(const StringAnsi& str)
|
String::String(const StringAnsi& str)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -548,7 +548,7 @@ public:
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Instance of the empty string.
|
/// Instance of the empty string.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
static String Empty;
|
static const String Empty;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user