From 2a0c7510fb91ba4a11b6772a8ae72685823907f8 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 9 Feb 2011 21:10:34 -0500 Subject: Fixed docs bug where we say "long" when we mean "long long" --- docs/source/lang/cpp/enum.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/source/lang/cpp/enum.rst') diff --git a/docs/source/lang/cpp/enum.rst b/docs/source/lang/cpp/enum.rst index ba82383..b6409eb 100644 --- a/docs/source/lang/cpp/enum.rst +++ b/docs/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 ` -or a :ref:`long `:: +``weather``, in the same way you would with an :ref:`int `:: // create a weather variable named theWeather, with value COMFY: weather theWeather = COMFY; -- cgit v1.2.3