Przeglądaj źródła

src/*: code-style: fix closing of namespaces

Daniele Bartolini 3 lat temu
rodzic
commit
7996b9dca5

+ 1 - 1
src/core/json/json_object.inl

@@ -74,6 +74,6 @@ inline const char* JsonObject::operator[](const StringView& key) const
 	return hash_map::get(_map, key, (const char*)NULL);
 }
 
-}
+} // namespace crown
 
 #define JSON_OBJECT_SKIP_HOLE(jo, cur) HASH_MAP_SKIP_HOLE(jo._map, cur)

+ 1 - 1
src/core/network/socket.cpp

@@ -42,7 +42,7 @@ namespace
 #endif
 	}
 
-}
+} // namespace
 
 struct Private
 {

+ 2 - 1
src/core/process.cpp

@@ -43,7 +43,8 @@ namespace process_internal
 		return priv->process.hProcess != 0;
 #endif
 	}
-}
+
+} // namespace process_internal
 
 Process::Process()
 {

+ 1 - 0
src/core/types.h

@@ -68,6 +68,7 @@ u64 STRING_ID_64(const char* str, const u64 id);
 	#define STRING_ID_32(str, id) u32(id)
 	#define STRING_ID_64(str, id) u64(id)
 #endif
+
 } // namespace crown
 
 #if defined(_MSC_VER)

+ 1 - 0
src/resource/expression_language.h

@@ -76,6 +76,7 @@ namespace expression_language
 		, unsigned *byte_code
 		, unsigned byte_code_capacity
 		);
+
 } // namespace expression_language
 #endif