summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-07-23 20:26:54 -0400
committerLioncash <mathew1800@gmail.com>2014-07-23 20:36:45 -0400
commit5767691f4e9260b25f440ef42bb9853aeba89b56 (patch)
tree906c95d329bca643f3f35097eaa0692b1084c653 /Source/Core/InputCommon/ControllerInterface
parente91db62f1be2eeeb3fb3d5f71cfafcfcb98e13a5 (diff)
Get rid of a few C-style struct declarations
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp
index 57abcb1b1f..ed8cfbf998 100644
--- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp
@@ -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[] =
{