mirror of https://github.com/davisking/dlib.git
Minor comment cleanup.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403085
This commit is contained in:
parent
209cbbe356
commit
1a55d39afd
|
@ -99,9 +99,9 @@ int main()
|
|||
cout << cr.block("user1").block("details")["editor"] << endl;
|
||||
|
||||
|
||||
// Finally, note that you can use the string_cast function to easily
|
||||
// convert fields into non-string types. For example, the config
|
||||
// file has an integer id field that could be converted into an int like so:
|
||||
// Note that you can use the string_cast function to easily convert fields
|
||||
// into non-string types. For example, the config file has an integer id
|
||||
// field that could be converted into an int like so:
|
||||
int id = string_cast<int>(cr.block("user2")["id"]);
|
||||
cout << "user2's id is " << id << endl;
|
||||
|
||||
|
|
Loading…
Reference in New Issue