Skip to content

of ver 0.9.8 error - cannot convert parameter path in addFile method #21

@sebasobotka

Description

@sebasobotka

This is a message:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2664	'std::string ofToDataPath(const std::string &,bool)': cannot convert argument 1 from 'const boost::filesystem::path' to 'const std::string &' (compiling source file ..\..\..\addons\ofxHttpUtils\src\ofxHttpUtils.cpp)....

and the fix:

formFiles[fieldName] = ofToDataPath(path.string());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions