summaryrefslogtreecommitdiff
path: root/src/misc/dbg_helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/dbg_helpers.cpp')
-rw-r--r--src/misc/dbg_helpers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc/dbg_helpers.cpp b/src/misc/dbg_helpers.cpp
index 305f7361e..1eebfdf45 100644
--- a/src/misc/dbg_helpers.cpp
+++ b/src/misc/dbg_helpers.cpp
@@ -65,8 +65,8 @@ CStrA TileStr(TileIndex tile)
return out.Transfer();
}
-/** Keep track of the last assigned type_id. Used for anti-recursion. */
-/*static*/ size_t& DumpTarget::LastTypeId()
+/** Keep track of the last assigned type_id. Used for anti-recursion.
+ *static*/ size_t& DumpTarget::LastTypeId()
{
static size_t last_type_id = 0;
return last_type_id;
@@ -77,7 +77,7 @@ CStrA DumpTarget::GetCurrentStructName()
{
CStrA out;
if (!m_cur_struct.empty()) {
- // we are inside some named struct, return its name
+ /* we are inside some named struct, return its name */
out = m_cur_struct.top();
}
return out.Transfer();