aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-08-30 20:05:05 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-08-30 20:05:05 +0000
commit425d256321f590e4ca86e3294055e9fad135f9b2 (patch)
tree9bbac135a6bb23998867d4bc3c96d0fddf7ffa0a /src/processor
parentCleanup from #7 (diff)
downloadbreakpad-425d256321f590e4ca86e3294055e9fad135f9b2.tar.xz
Make build system less annoying (#8) r=bryner
- Place objects in the appropriate directories, instead of filling up the root directory. - Remove namespace macros, which made maintenance troublesome and which created a dependency on config.h in public headers - Skip useless Fortran checks at configure time git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@8 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/source_line_resolver.cc10
-rw-r--r--src/processor/source_line_resolver.h6
-rw-r--r--src/processor/source_line_resolver_unittest.cc4
3 files changed, 10 insertions, 10 deletions
diff --git a/src/processor/source_line_resolver.cc b/src/processor/source_line_resolver.cc
index a6e87e7b..a99dc41f 100644
--- a/src/processor/source_line_resolver.cc
+++ b/src/processor/source_line_resolver.cc
@@ -19,12 +19,12 @@
#include <utility>
#include "source_line_resolver.h"
-using STL_NAMESPACE::map;
-using STL_NAMESPACE::vector;
-using STL_NAMESPACE::make_pair;
+using std::map;
+using std::vector;
+using std::make_pair;
using __gnu_cxx::hash;
-_START_GOOGLE_NAMESPACE_
+namespace google_airbag {
void SourceLineResolver::SourceLineInfo::Reset() {
function_name.clear();
@@ -272,4 +272,4 @@ size_t SourceLineResolver::HashString::operator()(const string &s) const {
return hash<const char*>()(s.c_str());
}
-_END_GOOGLE_NAMESPACE_
+} // namespace google_airbag
diff --git a/src/processor/source_line_resolver.h b/src/processor/source_line_resolver.h
index 44325872..97bfa1df 100644
--- a/src/processor/source_line_resolver.h
+++ b/src/processor/source_line_resolver.h
@@ -23,9 +23,9 @@
#include <string>
#include <ext/hash_map>
-_START_GOOGLE_NAMESPACE_
+namespace google_airbag {
-using STL_NAMESPACE::string;
+using std::string;
using __gnu_cxx::hash_map;
class SourceLineResolver {
@@ -83,6 +83,6 @@ class SourceLineResolver {
void operator=(const SourceLineResolver&);
};
-_END_GOOGLE_NAMESPACE_
+} // namespace google_airbag
#endif // _SOLURCE_LINE_RESOLVER_H__
diff --git a/src/processor/source_line_resolver_unittest.cc b/src/processor/source_line_resolver_unittest.cc
index 99f499df..8bfe662c 100644
--- a/src/processor/source_line_resolver_unittest.cc
+++ b/src/processor/source_line_resolver_unittest.cc
@@ -16,8 +16,8 @@
#include <string>
#include "source_line_resolver.h"
-using STL_NAMESPACE::string;
-using GOOGLE_NAMESPACE::SourceLineResolver;
+using std::string;
+using google_airbag::SourceLineResolver;
#define ASSERT_TRUE(cond) \
if (!(cond)) { \