Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: webrtc/base/pathutils.cc

Issue 1896953004: Roll chromium_revision 212f976fef..61ed337cfe (387882:388120) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix Clang warnings Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/pathutils.cc
diff --git a/webrtc/base/pathutils.cc b/webrtc/base/pathutils.cc
index b5227ecb10026ec534c859c8b501fcc6866d22c8..60e2b8bf47e51d6ffd0e9db7a8d04a68f0f9eb8d 100644
--- a/webrtc/base/pathutils.cc
+++ b/webrtc/base/pathutils.cc
@@ -13,7 +13,7 @@
#include <shellapi.h>
#include <shlobj.h>
#include <tchar.h>
-#endif // WEBRTC_WIN
+#endif // WEBRTC_WIN
kwiberg-webrtc 2016/04/19 09:21:01 Your editor seems to be auto-cleaning trailing whi
kjellander_webrtc 2016/04/19 09:53:53 Well, it's just this file so I'm gonna let them be
#include "webrtc/base/common.h"
#include "webrtc/base/fileutils.h"
@@ -35,9 +35,9 @@ const char* const FOLDER_DELIMS = "/\\";
// DEFAULT_FOLDER_DELIM is the preferred delimiter for this platform
#if WEBRTC_WIN
const char DEFAULT_FOLDER_DELIM = '\\';
-#else // !WEBRTC_WIN
+#else // !WEBRTC_WIN
const char DEFAULT_FOLDER_DELIM = '/';
-#endif // !WEBRTC_WIN
+#endif // !WEBRTC_WIN
///////////////////////////////////////////////////////////////////////////////
// Pathname - parsing of pathnames into components, and vice versa
@@ -55,6 +55,8 @@ Pathname::Pathname()
: folder_delimiter_(DEFAULT_FOLDER_DELIM) {
}
+Pathname::Pathname(const Pathname&) = default;
+
Pathname::Pathname(const std::string& pathname)
: folder_delimiter_(DEFAULT_FOLDER_DELIM) {
SetPathname(pathname);

Powered by Google App Engine
This is Rietveld 408576698