tobspr / LUI

Lightweight User Interface for Panda3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

std:: namespace removed

JoelStienlet opened this issue · comments

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

commented

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