Removes commas from last items in enums (a C++ standard compliance fix).
diff --git a/include/gmock/gmock-spec-builders.h b/include/gmock/gmock-spec-builders.h
index 6ae807a..400d4d7 100644
--- a/include/gmock/gmock-spec-builders.h
+++ b/include/gmock/gmock-spec-builders.h
@@ -254,7 +254,7 @@
     // syntax checking relies on it.
     kNone,
     kWith,
-    kWillByDefault,
+    kWillByDefault
   };
 
   // Asserts that the ON_CALL() statement has a certain property.
@@ -357,7 +357,7 @@
 enum CallReaction {
   ALLOW,
   WARN,
-  FAIL,
+  FAIL
 };
 
 }  // namespace internal
@@ -715,7 +715,7 @@
     kAfter,
     kWillOnce,
     kWillRepeatedly,
-    kRetiresOnSaturation,
+    kRetiresOnSaturation
   };
 
   typedef std::vector<const void*> UntypedActions;
diff --git a/include/gmock/internal/gmock-internal-utils.h b/include/gmock/internal/gmock-internal-utils.h
index 48fadba..f0fd868 100644
--- a/include/gmock/internal/gmock-internal-utils.h
+++ b/include/gmock/internal/gmock-internal-utils.h
@@ -305,7 +305,7 @@
 // Severity level of a log.
 enum LogSeverity {
   INFO = 0,
-  WARNING = 1,
+  WARNING = 1
 };
 
 // Valid values for the --gmock_verbose flag.