0

getRecordForDay我在下面的方法中添加了一行,即AttributeMap在我的.cc class file.

而且我已经添加了AttributeMap如下所述的声明标题。

#include "../../../nda/mpl/nydrecords/AttributeMap.hh"

// some code here

void getRecordForDay(string rowKey, vector<string> number, string columnFamily) {

    AttributeMap attr_map;

    // some code here

}

但是每当我编译上面的代码时,我总是会得到错误,因为 -

error: AttributeMap was not declared in this scope

知道我在这里做错了什么吗?

谢谢..

4

0 回答 0