summaryrefslogtreecommitdiffstats
path: root/util/system/src_location.h
diff options
context:
space:
mode:
authorswarmer <[email protected]>2022-02-10 16:46:31 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:31 +0300
commit317da38588b7898a99fd9168571408123350012b (patch)
tree25eebc31526019ad39a6c1b13f492963d97ba439 /util/system/src_location.h
parent3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/src_location.h')
-rw-r--r--util/system/src_location.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/src_location.h b/util/system/src_location.h
index 12ba6e063e9..0117cdebf8f 100644
--- a/util/system/src_location.h
+++ b/util/system/src_location.h
@@ -15,11 +15,11 @@ struct TSourceLocation {
int Line;
};
-// __SOURCE_FILE__ should be used instead of __FILE__
-#if !defined(__NVCC__)
+// __SOURCE_FILE__ should be used instead of __FILE__
+#if !defined(__NVCC__)
#define __SOURCE_FILE__ (__SOURCE_FILE_IMPL__.As<TStringBuf>())
-#else
+#else
#define __SOURCE_FILE__ (__SOURCE_FILE_IMPL__.template As<TStringBuf>())
-#endif
-
+#endif
+
#define __LOCATION__ ::TSourceLocation(__SOURCE_FILE__, __LINE__)