[Issue#] N/A
[Problem] Prevent identified an issue
[Cause] N/A
[Solution] Fix the issue to satisfy prevent
Change-Id: If7f195abad3254e7be50fa34a36d2875898a546f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
#include <iostream>
#include <vector>
+using namespace std;
+
namespace Dali
{
void Print()
{
- std::cout << std::left << " --";
- std::cout.width( 18 );
- std::cout << opt;
- std::cout << optDescription;
- std::cout << std::endl;
+ const ios_base::fmtflags flags = cout.flags();
+ cout << left << " --";
+ cout.width( 18 );
+ cout << opt;
+ cout << optDescription;
+ cout << endl;
+ cout.flags( flags );
}
};
OPTION_HELP
};
-typedef std::vector< int > UnhandledContainer;
+typedef vector< int > UnhandledContainer;
void ShowHelp()
{
- std::cout << "Available options:" << std::endl;
+ cout << "Available options:" << endl;
Argument* arg = EXPECTED_ARGS;
while ( arg->opt )
{