~mrazik/unity/remove-duplicate-testcase

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/DebugDBusInterface.cpp

  • Committer: Tarmac
  • Author(s): Thomi Richards
  • Date: 2012-03-18 23:29:42 UTC
  • mfrom: (2119.3.1 fix-cstr-calls)
  • Revision ID: tarmac-20120318232942-vhzd0nuzahrwrtuo
Remove calls to c_str() where they're not needed.. Fixes: . Approved by Tim Penhey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
{
240
240
  if (local::output_file.is_open())
241
241
    local::output_file.close();
242
 
  local::output_file.open(file_path.c_str());
 
242
  local::output_file.open(file_path);
243
243
  nux::logging::Writer::Instance().SetOutputStream(local::output_file);
244
244
}
245
245