Remove unused static global strings. The linker may optimize these out for non debug builds, but I kind of doubt it since the constructors and destructors involve heap allocaitons.
namespace ARIASDK_NS_BEGIN {
-static const std::string NetworkCostNames[] = {
- "Unknown",
- "Unmetered",
- "Metered",
- "Roaming",
- // Reserved network costs
- "Reserved",
- "Reserved",
- "Reserved"
-};
-
-static const std::string PowerSourceNames[] = {
- "Unknown",
- "Battery",
- "Charging",
- // Reserved power states
- "Reserved",
- "Reserved",
- "Reserved"
-};
-
class DeviceStateHandler
: public PAL::IPropertyChangedCallback
{
