summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386>2011-04-08 01:32:32 +0000
committervladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386>2011-04-08 01:32:32 +0000
commit34d9165d319421e08436b94ef9b1b9b5992c9f14 (patch)
treeb36b7b91dc5440810dc9a9409c6364ac07e00bda
parentad13ffa077f66ff88249bc27d91c95acfe7d0771 (diff)
downloadgooglemock-34d9165d319421e08436b94ef9b1b9b5992c9f14.tar.gz
Removes commas from last items in enums (a C++ standard compliance fix).
git-svn-id: http://googlemock.googlecode.com/svn/trunk@378 8415998a-534a-0410-bf83-d39667b30386
-rw-r--r--include/gmock/gmock-spec-builders.h6
-rw-r--r--include/gmock/internal/gmock-internal-utils.h2
2 files changed, 4 insertions, 4 deletions
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 @@ class UntypedOnCallSpecBase {
// syntax checking relies on it.
kNone,
kWith,
- kWillByDefault,
+ kWillByDefault
};
// Asserts that the ON_CALL() statement has a certain property.
@@ -357,7 +357,7 @@ class OnCallSpec : public UntypedOnCallSpecBase {
enum CallReaction {
ALLOW,
WARN,
- FAIL,
+ FAIL
};
} // namespace internal
@@ -715,7 +715,7 @@ class ExpectationBase {
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 @@ inline void Expect(bool condition, const char* file, int line) {
// Severity level of a log.
enum LogSeverity {
INFO = 0,
- WARNING = 1,
+ WARNING = 1
};
// Valid values for the --gmock_verbose flag.