Explorar el Código

Fix typo (forgotten reference operator) in test.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171708408
pull/1/head
costan hace 7 años
cometido por Victor Costan
padre
commit
23162ca1c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      db/fault_injection_test.cc

+ 1
- 1
db/fault_injection_test.cc Ver fichero

@ -34,7 +34,7 @@ class FaultInjectionTestEnv;
namespace {
// Assume a filename, and not a directory name like "/foo/bar/"
static std::string GetDirName(const std::string filename) {
static std::string GetDirName(const std::string& filename) {
size_t found = filename.find_last_of("/\\");
if (found == std::string::npos) {
return "";

Cargando…
Cancelar
Guardar