Browse Source

Remove old TODOs.

pull/1/head
Daniel Scharrer 14 years ago
parent
commit
98782e4fca
  1. 1
      src/cli/debug.cpp
  2. 2
      src/setup/info.cpp
  3. 1
      src/util/flags.hpp
  4. 1
      src/util/storedenum.hpp

1
src/cli/debug.cpp

@ -448,7 +448,6 @@ static void print_header(const setup::header & header) {
if(header.options & (setup::header::Password | setup::header::EncryptionUsed)) {
cout << "Password: " << color::cyan << header.password << color::reset << '\n';
// TODO print salt
}
cout << if_not_zero("Extra disk space required", header.extra_disk_space_required);

2
src/setup/info.cpp

@ -130,8 +130,6 @@ void info::load(std::istream & ifs, entry_types e, const setup::version & v) {
throw std::ios_base::failure("expected end of stream");
}
// TODO skip to end if not there yet
is = stream::block_reader::get(ifs, v);
assert(is);
is->exceptions(std::ios_base::badbit | std::ios_base::failbit);

1
src/util/flags.hpp

@ -178,7 +178,6 @@ public:
inline Flagname operator~(Flagname::enum_type a) { \
return ~Flagname(a); \
}
// TODO prevent combination with integers!
#define FLAGS_ENUM(Flagname) Flagname ## __Enum
#define FLAGS(Flagname, ...) \

1
src/util/storedenum.hpp

@ -67,7 +67,6 @@ public:
static const size_t size = Mapping::count;
inline stored_enum(std::istream & is) {
// TODO use larger types for larger enums
BOOST_STATIC_ASSERT(size <= (1 << 8));
value = load_number<uint8_t>(is);
}

Loading…
Cancel
Save