viz: eliminate warnings from tutorial code

This commit is contained in:
Alexander Alekhin 2016-10-21 18:22:07 +03:00
parent f129950dec
commit c31f89f0de
4 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ using namespace std;
* @function help * @function help
* @brief Display instructions to use this tutorial program * @brief Display instructions to use this tutorial program
*/ */
void help() static void help()
{ {
cout cout
<< "--------------------------------------------------------------------------" << endl << "--------------------------------------------------------------------------" << endl

View File

@ -14,7 +14,7 @@ using namespace std;
* @function help * @function help
* @brief Display instructions to use this tutorial program * @brief Display instructions to use this tutorial program
*/ */
void help() static void help()
{ {
cout cout
<< "--------------------------------------------------------------------------" << endl << "--------------------------------------------------------------------------" << endl

View File

@ -15,7 +15,7 @@ using namespace std;
* @function help * @function help
* @brief Display instructions to use this tutorial program * @brief Display instructions to use this tutorial program
*/ */
void help() static void help()
{ {
cout cout
<< "--------------------------------------------------------------------------" << endl << "--------------------------------------------------------------------------" << endl
@ -31,7 +31,7 @@ void help()
* @function cvcloud_load * @function cvcloud_load
* @brief load bunny.ply * @brief load bunny.ply
*/ */
Mat cvcloud_load() static Mat cvcloud_load()
{ {
Mat cloud(1, 1889, CV_32FC3); Mat cloud(1, 1889, CV_32FC3);
ifstream ifs("bunny.ply"); ifstream ifs("bunny.ply");

View File

@ -15,7 +15,7 @@ using namespace std;
* @function help * @function help
* @brief Display instructions to use this tutorial program * @brief Display instructions to use this tutorial program
*/ */
void help() static void help()
{ {
cout cout
<< "--------------------------------------------------------------------------" << endl << "--------------------------------------------------------------------------" << endl