tobspr / LUI

Lightweight User Interface for Panda3D
MIT License
84 stars 24 forks source link

std:: namespace removed #47

Closed JoelStienlet closed 6 years ago

JoelStienlet commented 6 years ago

Hello,

Some work has been done recently to remove the inclusion of the std:: namespace by default in panda3d, which is good, but as expected some small corrections may be required. I suggest some changes to make LUI's sources compile again:

luiInputHandler.h: pmap<int, string> should become pmap<int, std::string> luiFontPool.h: pmap<string, PT(DynamicTextFont)> should become pmap<std::string, PT(DynamicTextFont)> luiAtlasPool.h: pmap<string, PT(LUIAtlas)> should become pmap<std::string, PT(LUIAtlas)> luiBaseElement.h: pmap<string, PT(CallbackObject)> should become pmap<std::string, PT(CallbackObject)> luiBaseElement.h: don't include unordered_map config_lui.h : include unordered_map

rdb commented 6 years ago

This can be closed as it was fixed by #48.