Get rid of a few C-style struct declarations

This commit is contained in:
Lioncash
2014-07-23 20:26:54 -04:00
parent e91db62f1b
commit 5767691f4e
8 changed files with 23 additions and 21 deletions

View File

@ -15,11 +15,11 @@ template class ForceFeedbackDevice::Force<DICONSTANTFORCE>;
template class ForceFeedbackDevice::Force<DIRAMPFORCE>;
template class ForceFeedbackDevice::Force<DIPERIODIC>;
typedef struct
struct ForceType
{
GUID guid;
const std::string name;
} ForceType;
};
static const ForceType force_type_names[] =
{