aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/cpp/enum.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
commit9768ee6b2f60442676613c154ad784b30191711c (patch)
treebef1b50fde1ea3eafc89124b31dae82979ca8d14 /source/lang/cpp/enum.rst
parent9ea60c7e7dffd06791ec2dc62ffab3f2bf802f08 (diff)
downloadlibrambutan-9768ee6b2f60442676613c154ad784b30191711c.tar.gz
librambutan-9768ee6b2f60442676613c154ad784b30191711c.zip
Fixed docs bug where we say "long" when we mean "long long"
Diffstat (limited to 'source/lang/cpp/enum.rst')
-rw-r--r--source/lang/cpp/enum.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/lang/cpp/enum.rst b/source/lang/cpp/enum.rst
index ba82383..b6409eb 100644
--- a/source/lang/cpp/enum.rst
+++ b/source/lang/cpp/enum.rst
@@ -18,8 +18,7 @@ which has values ``HOT``, ``COMFY``, and ``COLD``::
enum weather {HOT, COMFY, COLD};
Once you've defined this type, you can create variables of type
-``weather``, in the same way you would with an :ref:`int <lang-int>`
-or a :ref:`long <lang-long>`::
+``weather``, in the same way you would with an :ref:`int <lang-int>`::
// create a weather variable named theWeather, with value COMFY:
weather theWeather = COMFY;