Skip to content

Commit

Permalink
Fix initializer order warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hfiguiere committed May 15, 2013
1 parent ed13d3c commit 8945e33
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion XMPFiles/source/FileHandlers/PSD_Handler.hpp
Expand Up @@ -57,7 +57,7 @@ class PSD_MetaHandler : public XMPFileHandler

private:

PSD_MetaHandler() : iptcMgr(0), exifMgr(0), skipReconcile(false) {}; // Hidden on purpose.
PSD_MetaHandler() : skipReconcile(false), iptcMgr(0), exifMgr(0) {} // Hidden on purpose.

PSIR_FileWriter psirMgr; // Don't need a pointer, the PSIR part is always file-based.
IPTC_Manager * iptcMgr; // Need to use pointers so we can properly select between read-only
Expand Down
4 changes: 2 additions & 2 deletions XMPFiles/source/FileHandlers/UCF_Handler.hpp
Expand Up @@ -277,10 +277,10 @@ class UCF_MetaHandler : public XMPFileHandler
PutUns16LE(0x14, &fields[FileHeader::o_extractVersion] );
}

FileHeader() : filename(0),filenameLen(0),extraField(0),extraFieldLen(0)
FileHeader() : filename(0),extraField(0),filenameLen(0),extraFieldLen(0)
{
clear();
};
}

// reads entire *FileHeader* structure from file (starting at current position)
void read(XMP_IO* file)
Expand Down
2 changes: 1 addition & 1 deletion XMPFiles/source/PluginHandler/FileHandler.h
Expand Up @@ -51,7 +51,7 @@ class FileHandler
public:

FileHandler(std::string & uid, XMP_OptionBits handlerFlags, FileHandlerType type, ModuleSharedPtr module):
mVersion(0), mUID(uid), mHandlerFlags(handlerFlags), mType(type), mModule(module), mOverwrite(false) {}
mVersion(0), mUID(uid), mHandlerFlags(handlerFlags), mOverwrite(false), mType(type), mModule(module) {}

virtual ~FileHandler(){}

Expand Down
2 changes: 1 addition & 1 deletion XMPFiles/source/PluginHandler/XMPAtoms.h
Expand Up @@ -99,7 +99,7 @@ class ResourceParser
{
public:
ResourceParser(ModuleSharedPtr module)
: mModule(module), mFlags(0), mSerializeOption(0), mType(0), mVersion(0), mOverwriteHandler(false) {}
: mModule(module), mType(0), mFlags(0), mSerializeOption(0), mVersion(0), mOverwriteHandler(false) {}

/**
* Initialize the XMPAtoms which will be used in parsing resource files.
Expand Down

0 comments on commit 8945e33

Please sign in to comment.