Skip to content

Commit

Permalink
Fix duplidict.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Arusekk committed May 10, 2018
1 parent 99e4f3c commit 0fe1914
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions duplidict.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,8 @@
#include <json-c/json.h>
#include <pcre.h>

#define CF (PCRE_UCP|0)
#define EF (PCRE_UCP&0)

#if 0
class DupliDict {
dict_t m_dict;

public:
DupliDict();
DupliDict(const dict_t& x, DupliDict& par);

value_t& operator[](const key_t& key);
void _fixup(const dict_t& val);
};

class FSDict : public DupliDict {
std::string m_path;
public:
FSDict(const std::string& path);

value_t& operator[](const key_t& key);
};
#endif
#define CF (PCRE_UCP) /* default pcre_compile flags */
#define EF (0) /* default pcre_exec flags */

#define json_object_object_add_ex(o, k, v, x) json_object_object_add(o, k, v)

Expand Down

0 comments on commit 0fe1914

Please sign in to comment.