summaryrefslogtreecommitdiffstats
path: root/base/tracked.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/tracked.h')
-rw-r--r--base/tracked.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/tracked.h b/base/tracked.h
index 1b5d22a..ea4092f 100644
--- a/base/tracked.h
+++ b/base/tracked.h
@@ -105,6 +105,12 @@ class Location {
//------------------------------------------------------------------------------
+// Define a macro to record the current source location.
+
+#define FROM_HERE tracked_objects::Location(__FUNCTION__, __FILE__, __LINE__)
+
+
+//------------------------------------------------------------------------------
class Births;