Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 10, 2016
1 parent bd084ed commit 286379e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -44,7 +44,7 @@ class LIBDOOMSDAY_PUBLIC DataBundle : public de::IByteArray
};

public:
DataBundle(Format format, de::File const &source);
DataBundle(Format format, de::File &source);
~DataBundle();

Format format() const;
Expand Down
4 changes: 2 additions & 2 deletions doomsday/apps/libdoomsday/src/filesys/databundle.cpp
Expand Up @@ -38,14 +38,14 @@ namespace internal

DENG2_PIMPL(DataBundle)
{
SafePtr<File const> source;
SafePtr<File> source;
Format format;

Instance(Public *i, Format fmt) : Base(i), format(fmt)
{}
};

DataBundle::DataBundle(Format format, File const &source)
DataBundle::DataBundle(Format format, File &source)
: d(new Instance(this, format))
{
d->source.reset(&source);
Expand Down
4 changes: 2 additions & 2 deletions doomsday/sdk/libcore/src/filesys/package.cpp
Expand Up @@ -295,8 +295,8 @@ void Package::validateMetadata(Record const &packageInfo)
.arg(packageInfo.gets("path")));
}

static char const *required[] = { "title", "version", "license", "tags" };
for(char const *req : required)
static String const required[] = { "title", "version", "license", "tags" };
for(auto const &req : required)
{
if(!packageInfo.has(req))
{
Expand Down

0 comments on commit 286379e

Please sign in to comment.