Limit use of default namespace in tests and utility programs (#71). r=bryner
- main is now the only thing you'll find in the default namespace. Everything else has been moved into an unnamed namespace. http://groups.google.com/group/airbag-dev/browse_thread/thread/14130a0284a0307f git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@63 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
		| @@ -45,6 +45,9 @@ | ||||
| #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition)) | ||||
|  | ||||
|  | ||||
| namespace { | ||||
|  | ||||
|  | ||||
| using google_airbag::ContainedRangeMap; | ||||
|  | ||||
|  | ||||
| @@ -248,6 +251,9 @@ static bool RunTests() { | ||||
| } | ||||
|  | ||||
|  | ||||
| }  // namespace | ||||
|  | ||||
|  | ||||
| int main(int argc, char **argv) { | ||||
|   return RunTests() ? 0 : 1; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 mmentovai
					mmentovai