[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] net.venge.monotone: d48ba47d971205685529637179
From: |
code |
Subject: |
[Monotone-commits-diffs] net.venge.monotone: d48ba47d9712056855296371791c608aa9610852 |
Date: |
Thu, 10 Mar 2011 19:43:27 +0100 (CET) |
revision: d48ba47d9712056855296371791c608aa9610852
date: 2011-03-10T18:43:08
author: Richard Levitte <address@hidden>
branch: net.venge.monotone
changelog:
* src/migration.hh (migration_status::migration_status()): If the
variables aren't explicitely initialised, the values may be quite
random, which leads to unpredictable behavior (such as regenerating
caches although not needed). Better to initialise them explicitely.
manifest:
format_version "1"
new_manifest [d8274ac5e3b0e63e409dd8f30ab3790c3e287465]
old_revision [4988f05eea9445b6307f92597b8d8349eabe2841]
patch "src/migration.hh"
from [365a4914fd7fd01359aa18df660f4c82d27d3c03]
to [df4687ee1932044712b9b44386dcf3c7ff3c4f22]
============================================================
--- src/migration.hh 365a4914fd7fd01359aa18df660f4c82d27d3c03
+++ src/migration.hh df4687ee1932044712b9b44386dcf3c7ff3c4f22
@@ -38,7 +38,7 @@ public:
regen_cache_type _regen_type;
std::string _flag_day_name;
public:
- migration_status(){}
+ migration_status() : _regen_type(regen_none), _flag_day_name("") {}
explicit migration_status(regen_cache_type type, std::string flag_day_name = "")
: _regen_type(type),
_flag_day_name(flag_day_name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] net.venge.monotone: d48ba47d9712056855296371791c608aa9610852,
code <=