Minor comment cleanup.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403085
This commit is contained in:
Davis King 2009-05-30 18:25:58 +00:00
parent 209cbbe356
commit 1a55d39afd
1 changed files with 3 additions and 3 deletions

View File

@ -99,9 +99,9 @@ int main()
cout << cr.block("user1").block("details")["editor"] << endl; cout << cr.block("user1").block("details")["editor"] << endl;
// Finally, note that you can use the string_cast function to easily // Note that you can use the string_cast function to easily convert fields
// convert fields into non-string types. For example, the config // into non-string types. For example, the config file has an integer id
// file has an integer id field that could be converted into an int like so: // field that could be converted into an int like so:
int id = string_cast<int>(cr.block("user2")["id"]); int id = string_cast<int>(cr.block("user2")["id"]);
cout << "user2's id is " << id << endl; cout << "user2's id is " << id << endl;