summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-09-20 20:08:22 +0200
committerljfa-ag <ljfa-ag@web.de>2015-09-20 20:08:22 +0200
commit8de25170806ebc2e72d037f9bd81c193c9f13138 (patch)
tree63bf51153ba4ca9866a2900a5fbaaff57c04f0f6
parent0208032d531ddf2f551a64c21248a992a3d606bf (diff)
downloadProject-Tick-8de25170806ebc2e72d037f9bd81c193c9f13138.tar.gz
Project-Tick-8de25170806ebc2e72d037f9bd81c193c9f13138.zip
Fix indentation in comments
-rw-r--r--include/io/stream_reader.h24
-rw-r--r--include/io/stream_writer.h15
2 files changed, 19 insertions, 20 deletions
diff --git a/include/io/stream_reader.h b/include/io/stream_reader.h
index 877f6498ed..ba9708fe1c 100644
--- a/include/io/stream_reader.h
+++ b/include/io/stream_reader.h
@@ -40,21 +40,21 @@ class input_error : public std::runtime_error
};
/**
-* @brief Reads a named tag from the stream, making sure that it is a compound
-* @param is the stream to read from
-* @param e the byte order of the source data. The Java edition
-* of Minecraft uses Big Endian, the Pocket edition uses Little Endian
-* @throw input_error on failure, or if the tag in the stream is not a compound
-*/
+ * @brief Reads a named tag from the stream, making sure that it is a compound
+ * @param is the stream to read from
+ * @param e the byte order of the source data. The Java edition
+ * of Minecraft uses Big Endian, the Pocket edition uses Little Endian
+ * @throw input_error on failure, or if the tag in the stream is not a compound
+ */
std::pair<std::string, std::unique_ptr<tag_compound>> read_compound(std::istream& is, endian::endian e = endian::big);
/**
-* @brief Reads a named tag from the stream
-* @param is the stream to read from
-* @param e the byte order of the source data. The Java edition
-* of Minecraft uses Big Endian, the Pocket edition uses Little Endian
-* @throw input_error on failure
-*/
+ * @brief Reads a named tag from the stream
+ * @param is the stream to read from
+ * @param e the byte order of the source data. The Java edition
+ * of Minecraft uses Big Endian, the Pocket edition uses Little Endian
+ * @throw input_error on failure
+ */
std::pair<std::string, std::unique_ptr<tag>> read_tag(std::istream& is, endian::endian e = endian::big);
/**
diff --git a/include/io/stream_writer.h b/include/io/stream_writer.h
index 959202e1ad..b9c478b933 100644
--- a/include/io/stream_writer.h
+++ b/include/io/stream_writer.h
@@ -37,14 +37,13 @@ class output_error : public std::runtime_error
};*/
/**
-* @brief Writes a named tag into the stream, including the tag type
-* @param key the name of the tag
-* @param t the tag
-* @param os the stream to write to
-* @param e the byte order of the written data. The Java edition
-* of Minecraft uses Big Endian, the Pocket edition uses Little Endian
-*/
-void write_tag(const std::string& key, const tag& t, std::ostream& os, endian::endian e = endian::big);
+ * @brief Writes a named tag into the stream, including the tag type
+ * @param key the name of the tag
+ * @param t the tag
+ * @param os the stream to write to
+ * @param e the byte order of the written data. The Java edition
+ * of Minecraft uses Big Endian, the Pocket edition uses Little Endian
+ */
/**
* @brief Helper class for writing NBT tags to output streams