summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random-weight.h
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-05 02:06:24 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-05 02:06:24 -0400
commitdd8a5379673542f0cf606a2fdcc0c692d25728d7 (patch)
tree03a7bec264abb48250f2927c7f23b46ba7c1222e /crawl-ref/source/random-weight.h
parent4e359b6150a2b2f3201f52ffc1ea586a5c2d0a2a (diff)
downloadcrawl-ref-dd8a5379673542f0cf606a2fdcc0c692d25728d7.tar.gz
crawl-ref-dd8a5379673542f0cf606a2fdcc0c692d25728d7.zip
Make Doxygen @returns "@return" for consistancy.
Diffstat (limited to 'crawl-ref/source/random-weight.h')
-rw-r--r--crawl-ref/source/random-weight.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/random-weight.h b/crawl-ref/source/random-weight.h
index df5082b305..3642b7b3de 100644
--- a/crawl-ref/source/random-weight.h
+++ b/crawl-ref/source/random-weight.h
@@ -7,7 +7,7 @@
* Weights are assumed to be non-negative, but are allowed to be zero.
* @param choices The vector of choice-weight pairs to choose from.
*
- * @returns A pointer to the item in the chosen pair, or NULL if all
+ * @return A pointer to the item in the chosen pair, or NULL if all
* weights are zero.
*/
template <typename T>
@@ -34,7 +34,7 @@ T* random_choose_weighted(vector<pair<T, int> >& choices)
* Entries with a weight <= 0 are skipped.
* @param choices The fixed vector with weights for each item.
*
- * @returns A index corresponding to the selected item, or -1 if all
+ * @return A index corresponding to the selected item, or -1 if all
* weights were skipped.
*/
template <typename T, int SIZE>