aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example6.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
committerVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
commit3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch)
tree1968196db0d6ae27fd70d0732ff3defed0efb61f /examples/example6.cpp
parentEncode '?' characters to avoid breaking QP encoding (Zarafa). (diff)
downloadvmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz
vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip
Fixed compilation warnings.
Diffstat (limited to 'examples/example6.cpp')
-rw-r--r--examples/example6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example6.cpp b/examples/example6.cpp
index a831d991..8bf7b44c 100644
--- a/examples/example6.cpp
+++ b/examples/example6.cpp
@@ -346,7 +346,7 @@ static void printFolders(vmime::ref <vmime::net::folder> folder, const int level
*
* @param choices menu choices
*/
-static const unsigned int printMenu(const std::vector <std::string>& choices)
+static unsigned int printMenu(const std::vector <std::string>& choices)
{
std::cout << std::endl;
@@ -780,7 +780,7 @@ static void connectStore()
*
* @return true to quit the program, false to continue
*/
-static const bool menu()
+static bool menu()
{
std::vector <std::string> items;