Skip to content

Commit 51cc538

Browse files
committed
change char* to std::string
1 parent 8c2262a commit 51cc538

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Model-Modifier/src/scene/object/ObjectSelect.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22

3+
#include <string>
34
#include <unordered_map>
45

56
#include "Object.h"
@@ -43,7 +44,7 @@ class ObjectSelect
4344
Object findObj(unsigned int obj);
4445

4546
public:
46-
std::unordered_map<unsigned int, const char*> m_Filepaths
47+
std::unordered_map<unsigned int, const std::string> m_Filepaths
4748
{
4849
{ ANKYLOSAURUS, "res/objects/ankylosaurus.obj" },
4950
{ ARMADILLO, "res/objects/armadillo.obj" },

0 commit comments

Comments
 (0)